Fixed warning on 64bits
Former-commit-id: eb4c1fb88cc0aec38507c3100650d45deeb4e64a
This commit is contained in:
parent
90603e1f42
commit
f694c3be40
|
|
@ -16,7 +16,11 @@
|
|||
|
||||
// C'est malheureux mais le spécificateur %z de (f)printf n'est pas supporté partout
|
||||
#ifdef NAZARA_COMPILER_MINGW
|
||||
#define SIZE_T_SPECIFIER "%u"
|
||||
#ifdef defined(NAZARA_PLATFORM_x64)
|
||||
#define SIZE_T_SPECIFIER "%lu"
|
||||
#else
|
||||
#define SIZE_T_SPECIFIER "%llu"
|
||||
#endif
|
||||
#else
|
||||
#define SIZE_T_SPECIFIER "%zu" // Standard
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue