64bit fixups

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29872 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2010-03-08 07:06:47 +00:00
parent 22f8bdb8c4
commit 3132d54a5d
8 changed files with 105 additions and 78 deletions

View file

@ -58,7 +58,7 @@ static Class gcClass = 0;
{
GCArray *result;
id *objects;
unsigned i, c = [self count];
NSUInteger i, c = [self count];
if (NSShouldRetainWithZone(self, zone))
{
@ -248,7 +248,7 @@ static Class gcClass = 0;
{
GCArray *result;
id *objects;
unsigned i, c = [self count];
NSUInteger i, c = [self count];
objects = NSZoneMalloc(zone, c * sizeof(id));
/* FIXME: Check if malloc return 0 */
@ -342,7 +342,7 @@ static Class gcClass = 0;
if (_count == _maxCount)
{
unsigned old = _maxCount;
NSUInteger old = _maxCount;
BOOL *optr;
if (_maxCount > 0)