mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-21 20:51:52 +00:00
gc improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28234 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4de027cd20
commit
4bb86f10be
8 changed files with 1059 additions and 233 deletions
|
@ -912,7 +912,7 @@ static Class GSInlineArrayClass;
|
|||
* get objects from after the end of the array. Don't pass negative values
|
||||
* to memcpy.
|
||||
*/
|
||||
if (count >= 0)
|
||||
if (count > 0)
|
||||
{
|
||||
memcpy(stackbuf, _contents_array + state->state, count * sizeof(id));
|
||||
state->state += count;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue