Update comment about %lu warnings.
This commit is contained in:
parent
3c869816ac
commit
26fc863155
|
@ -170,7 +170,9 @@ commented out the original, but kept it around just in case. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* VC and older compilers don't support %td or %zu, and even some that claim to
|
/* VC and older compilers don't support %td or %zu, and even some that claim to
|
||||||
be C99 don't support it (hence DISABLE_PERCENT_ZT). */
|
be C99 don't support it (hence DISABLE_PERCENT_ZT). There are some non-C99
|
||||||
|
environments where %lu gives a warning with 32-bit pointers. As there doesn't
|
||||||
|
seem to be an easy way round this, just live with it (the cases are rare). */
|
||||||
|
|
||||||
#if defined(_MSC_VER) || !defined(__STDC_VERSION__) || __STDC_VERSION__ < 199901L || defined(DISABLE_PERCENT_ZT)
|
#if defined(_MSC_VER) || !defined(__STDC_VERSION__) || __STDC_VERSION__ < 199901L || defined(DISABLE_PERCENT_ZT)
|
||||||
#define PTR_FORM "lu"
|
#define PTR_FORM "lu"
|
||||||
|
|
Loading…
Reference in New Issue