mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 17:36:11 +00:00
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]
This commit is contained in:
parent
d4bb328b78
commit
ceb9f7d934
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user