nir: Use PRIi64 and PRIu64 instead of %ld and %lu.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 4 Apr 2016 02:51:22 +0000 (19:51 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 4 Apr 2016 21:38:48 +0000 (14:38 -0700)
commit3babb7b0a4037c4ae98078611a827af6dd3e121e
tree1441c05fe756e27e2ade4dd6e26d1df9e241f92b
parentda5d08707bf07c76b6a1851f3a36bb7c1f8d4d4b
nir: Use PRIi64 and PRIu64 instead of %ld and %lu.

%ld and %lu aren't the right format specifiers for int64_t and uint64_t
on 32-bit (x86) systems.  They're %zu on Linux and %Iu on Windows.

Use the standard C99 macros in hopes that they work everywhere.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
src/compiler/nir/nir_search.c