summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2020-01-14 16:19:53 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2020-01-16 21:05:33 +0200
commit406a4f3d06eb2626eed86650aefaa715ed59205d (patch)
treefeb731572672f92419124521914b9a57fc4e2efc
parent4c382259be19b466c26759ac40bb30de1b92b9b7 (diff)
tests/perf: Fix compiler warn on 32bit
../tests/perf.c:890:12: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--tests/perf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/perf.c b/tests/perf.c
index 982277df..a837551c 100644
--- a/tests/perf.c
+++ b/tests/perf.c
@@ -887,7 +887,7 @@ init_sys_info(void)
igt_assert_neq(devid, 0);
timestamp_frequency = get_cs_timestamp_frequency();
- igt_debug("timestamp_frequency = %lu\n", timestamp_frequency);
+ igt_debug("timestamp_frequency = %"PRIu64"\n", timestamp_frequency);
igt_assert_neq(timestamp_frequency, 0);
if (IS_HASWELL(devid)) {