diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-03-10 10:36:24 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-03-10 10:58:11 +0000 |
commit | 5ec85f5bf8969e46cd70cffccaafb62078355414 (patch) | |
tree | 1698b00c689eca07a516600b852e7881272b61c1 | |
parent | eb59497a83323b9fd02e24ae21a78d795d220351 (diff) |
igt/gem_concurrent_blit: 32bit compilation warning
gem_concurrent_all.c: In function ‘__real_main1556’:
gem_concurrent_all.c:1642:4: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘uint64_t’ [-Wformat=]
igt_debug("Pinning %ld MiB\n", pin_sz);
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | tests/gem_concurrent_all.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_concurrent_all.c b/tests/gem_concurrent_all.c index a987ed8d..819a2028 100644 --- a/tests/gem_concurrent_all.c +++ b/tests/gem_concurrent_all.c @@ -1639,7 +1639,7 @@ igt_main num_buffers = gem_mappable_aperture_size() / (1024 * 1024); pin_sz = intel_get_avail_ram_mb() - num_buffers; - igt_debug("Pinning %ld MiB\n", pin_sz); + igt_debug("Pinning %lld MiB\n", (long long)pin_sz); pin_sz *= 1024 * 1024; if (posix_memalign(&pinned, 4096, pin_sz) || |