0aa796cbaa
The size_t type is either compatible with an int on 32-bit target, or a long on 64-bit targets. It could even be a long even on some 32-bit targets. Let's use the z qualifier in the printf format to be compatible with whatever flavor in use. In case of pointers, let's just use %p with pointers directly and avoid casts altogether. Signed-off-by: Nicolas Pitre <npitre@baylibre.com> |
||
---|---|---|
.. | ||
main.c |