mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-09 17:06:14 +00:00
gem_wait: Use PRIu64 in format string
../../tests/gem_wait.c: In function ‘render_timeout’: ../../tests/gem_wait.c:182:3: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ [-Wformat=] igt_info("Finished with %llu time remaining\n", timeout); Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
parent
af79fce66d
commit
d4c1bb7aab
@ -179,7 +179,7 @@ static void render_timeout(int fd)
|
|||||||
if (timeout == (ENOUGH_WORK_IN_SECONDS * NSEC_PER_SEC))
|
if (timeout == (ENOUGH_WORK_IN_SECONDS * NSEC_PER_SEC))
|
||||||
igt_info("Buffer was already done!\n");
|
igt_info("Buffer was already done!\n");
|
||||||
else {
|
else {
|
||||||
igt_info("Finished with %llu time remaining\n", timeout);
|
igt_info("Finished with %" PRIu64 " time remaining\n", timeout);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* check that polling with timeout=0 works. */
|
/* check that polling with timeout=0 works. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user