Use the word-size-agnostic printf specifier.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33755 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
theraven 2011-08-16 14:47:35 +00:00
parent bc7be959e5
commit 5d60193f9c

View file

@ -356,7 +356,7 @@ static BOOL useSmallInt;
@implementation NSSmallInt
#undef VALUE
#define VALUE (((intptr_t)self) >> OBJC_SMALL_OBJECT_SHIFT)
#define FORMAT @"%d"
#define FORMAT @"%" PRIdPTR
#include "NSNumberMethods.h"
+ (void)load
{