mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
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:
parent
22f8bdb8c4
commit
3132d54a5d
8 changed files with 105 additions and 78 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue