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:
Chris Wilson 2011-12-14 17:39:42 +00:00
parent d4bb328b78
commit ceb9f7d934

View File

@ -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);