mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
Changes for 64bit clean printf format strings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36810 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8082fb58c1
commit
022d588467
32 changed files with 223 additions and 168 deletions
|
@ -365,11 +365,7 @@ static BOOL useSmallFloat;
|
|||
@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
|
||||
#define FORMAT @"%"PRIdPTR
|
||||
#include "NSNumberMethods.h"
|
||||
|
||||
+ (void) load
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue