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:
Richard Frith-MacDonald 2009-04-19 10:03:18 +00:00
parent 1be02d0252
commit 807d1b8a65
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;