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:
rfm 2009-04-19 10:03:18 +00:00
parent 4de027cd20
commit 4bb86f10be
8 changed files with 1059 additions and 233 deletions

View file

@ -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;