commit | 3babb7b0a4037c4ae98078611a827af6dd3e121e | [log] [tgz] |
---|---|---|
author | Kenneth Graunke <kenneth@whitecape.org> | Sun Apr 03 19:51:22 2016 -0700 |
committer | Kenneth Graunke <kenneth@whitecape.org> | Mon Apr 04 14:38:48 2016 -0700 |
tree | 1441c05fe756e27e2ade4dd6e26d1df9e241f92b | |
parent | da5d08707bf07c76b6a1851f3a36bb7c1f8d4d4b [diff] |
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>