mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
64-bit fix in last commit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33641 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c0f08f202a
commit
7698b8d176
1 changed files with 1 additions and 1 deletions
|
@ -579,7 +579,7 @@ if (aValue >= -1 && aValue <= 12)\
|
|||
(aValue < (INT_MAX>>OBJC_SMALL_OBJECT_SHIFT)) &&
|
||||
(aValue > -(INT_MAX>>OBJC_SMALL_OBJECT_SHIFT)))
|
||||
{
|
||||
return (id)((aValue << 1) | 1);
|
||||
return (id)((aValue << OBJC_SMALL_OBJECT_SHIFT) | 1);
|
||||
}
|
||||
#endif
|
||||
n = NSAllocateObject (NSIntNumberClass, 0, 0);
|
||||
|
|
Loading…
Reference in a new issue