mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 08:41:03 +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
|
@ -752,12 +752,12 @@ static NSDictionary *makeReference(unsigned ref)
|
|||
return;
|
||||
|
||||
case _C_INT:
|
||||
o = [NSNumber numberWithInt: *(NSInteger*)address];
|
||||
o = [NSNumber numberWithInt: *(int*)address];
|
||||
[_enc setObject: o forKey: aKey];
|
||||
return;
|
||||
|
||||
case _C_UINT:
|
||||
o = [NSNumber numberWithUnsignedInt: *(NSUInteger*)address];
|
||||
o = [NSNumber numberWithUnsignedInt: *(unsigned int*)address];
|
||||
[_enc setObject: o forKey: aKey];
|
||||
return;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue