mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-03 01:50:55 +00:00
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:
parent
6dae192890
commit
ca12a84e3f
1 changed files with 1 additions and 1 deletions
|
@ -356,7 +356,7 @@ static BOOL useSmallInt;
|
||||||
@implementation NSSmallInt
|
@implementation NSSmallInt
|
||||||
#undef VALUE
|
#undef VALUE
|
||||||
#define VALUE (((intptr_t)self) >> OBJC_SMALL_OBJECT_SHIFT)
|
#define VALUE (((intptr_t)self) >> OBJC_SMALL_OBJECT_SHIFT)
|
||||||
#define FORMAT @"%d"
|
#define FORMAT @"%" PRIdPTR
|
||||||
#include "NSNumberMethods.h"
|
#include "NSNumberMethods.h"
|
||||||
+ (void)load
|
+ (void)load
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue