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:
David Chisnall 2011-07-26 19:16:14 +00:00
parent c0f08f202a
commit 7698b8d176

View file

@ -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);