Fix the 64-bit bug that Fred spotted.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33649 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
David Chisnall 2011-07-27 08:46:31 +00:00
parent 00259f1a7c
commit a124b3a52a

View file

@ -353,7 +353,7 @@ static BOOL useSmallInt;
@interface NSSmallInt : NSSignedIntegerNumber @end
@implementation NSSmallInt
#undef VALUE
#define VALUE (((intptr_t)self) >> 1)
#define VALUE (((intptr_t)self) >> OBJC_SMALL_OBJECT_SHIFT)
#define FORMAT @"%d"
#include "NSNumberMethods.h"
+ (void)load