diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2014-10-06 16:49:05 +0100 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@intel.com> | 2014-10-06 18:58:03 +0100 |
commit | d4c1bb7aab2d2d7ed3eb3225f937f55f591f1ae4 (patch) | |
tree | 2259d0ba39c5ed49a3a7172db64b66c78d40b435 /tests | |
parent | af79fce66d023b300f308ec78289c616c81037d3 (diff) |
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>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/gem_wait.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_wait.c b/tests/gem_wait.c index 1320c7b9..39d20b01 100644 --- a/tests/gem_wait.c +++ b/tests/gem_wait.c @@ -179,7 +179,7 @@ static void render_timeout(int fd) if (timeout == (ENOUGH_WORK_IN_SECONDS * NSEC_PER_SEC)) igt_info("Buffer was already done!\n"); 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. */ |