diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-12-14 17:39:42 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-12-14 17:39:42 +0000 |
commit | ceb9f7d934e7efaaf0b061c3a0c5cb4b21efa156 (patch) | |
tree | 47a6841ce479cd5bf41fda8e529bee872203b0e7 /tests/gem_stress.c | |
parent | d4bb328b78b767b98c8a60ee2c1bd0d2cc894d67 (diff) |
tests/gem_stress: silence the compiler by using '%zu' for size_t
gem_stress.c: In function ‘main’:
gem_stress.c:980:3: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘unsigned int’ [-Wformat]
Diffstat (limited to 'tests/gem_stress.c')
-rw-r--r-- | tests/gem_stress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_stress.c b/tests/gem_stress.c index df819b64..ecf3a0df 100644 --- a/tests/gem_stress.c +++ b/tests/gem_stress.c @@ -976,7 +976,7 @@ int main(int argc, char **argv) fan_in_and_check(); - fprintf(stderr, "num failed tiles %u, max incoherent bytes %lu\n", + fprintf(stderr, "num failed tiles %u, max incoherent bytes %zd\n", stats.num_failed, stats.max_failed_reads*sizeof(uint32_t)); intel_batchbuffer_free(batch); |