mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
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:
parent
00259f1a7c
commit
a124b3a52a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue