diff --git a/Source/NSNumber.m b/Source/NSNumber.m index a88267d8b..202f97ada 100644 --- a/Source/NSNumber.m +++ b/Source/NSNumber.m @@ -363,7 +363,11 @@ static BOOL useSmallRepeatingDouble; @implementation NSSmallInt #undef VALUE #define VALUE (((intptr_t)self) >> OBJC_SMALL_OBJECT_SHIFT) +#if OBJC_SMALL_OBJECT_SHIFT == 1 #define FORMAT @"%d" +#else +#define FORMAT @"%lld" +#endif #include "NSNumberMethods.h" + (void) load