mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
minor fixes for 64bit systems using collection with more than 2^32 items
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38295 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
13e4d77cec
commit
60a0f7ce5b
6 changed files with 16 additions and 16 deletions
|
@ -84,8 +84,8 @@ static Class GSInlineArrayClass;
|
|||
NSString *reason;
|
||||
|
||||
info = [NSDictionary dictionaryWithObjectsAndKeys:
|
||||
[NSNumber numberWithUnsignedInt: index], @"Index",
|
||||
[NSNumber numberWithUnsignedInt: _count], @"Count",
|
||||
[NSNumber numberWithUnsignedInteger: index], @"Index",
|
||||
[NSNumber numberWithUnsignedInteger: _count], @"Count",
|
||||
self, @"Array", nil, nil];
|
||||
|
||||
reason = [NSString stringWithFormat:
|
||||
|
@ -591,7 +591,7 @@ static Class GSInlineArrayClass;
|
|||
NSDictionary *info;
|
||||
|
||||
info = [NSDictionary dictionaryWithObjectsAndKeys:
|
||||
[NSNumber numberWithUnsignedInt: index], @"Index",
|
||||
[NSNumber numberWithUnsignedInteger: index], @"Index",
|
||||
self, @"Array", nil, nil];
|
||||
|
||||
exception = [NSException exceptionWithName: NSInvalidArgumentException
|
||||
|
@ -772,7 +772,7 @@ static Class GSInlineArrayClass;
|
|||
NSDictionary *info;
|
||||
|
||||
info = [NSDictionary dictionaryWithObjectsAndKeys:
|
||||
[NSNumber numberWithUnsignedInt: index], @"Index",
|
||||
[NSNumber numberWithUnsignedInteger: index], @"Index",
|
||||
_contents_array[index], @"OldObject",
|
||||
self, @"Array", nil, nil];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue