diff options
author | Mark Janes <[email protected]> | 2019-06-05 10:49:32 -0700 |
---|---|---|
committer | Mark Janes <[email protected]> | 2019-06-05 19:25:15 +0000 |
commit | 36d8a922ded31775c9765cf4bfe1ae1c5948a931 (patch) | |
tree | 7797205e6c561af69e2a9d4ad5b75c663e22e78a /src/intel/tools/aub_write.c | |
parent | 8a31eaa4e2402df01805db7484f215aa3fa361da (diff) |
intel/tools: use C99 print conversion specifier for 32 bit builds
Fixes formatting errors for 32 bit compilations, eg:
error: format ‘%lx’ expects argument of type ‘long unsigned int’,
but argument 5 has type ‘uint64_t’ {aka ‘long long unsigned int’}
[-Werror=format=]
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/intel/tools/aub_write.c')
-rw-r--r-- | src/intel/tools/aub_write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/tools/aub_write.c b/src/intel/tools/aub_write.c index 0447bbb39c2..dcbde639214 100644 --- a/src/intel/tools/aub_write.c +++ b/src/intel/tools/aub_write.c @@ -577,7 +577,7 @@ aub_write_ggtt(struct aub_file *aub, uint64_t virt_addr, uint64_t size, const vo if (aub->verbose_log_file) { fprintf(aub->verbose_log_file, - " Writting GGTT address: 0x%" PRIx64 ", size: %" PRIu64" phys_addr=0x%lx entries=%u\n", + " Writting GGTT address: 0x%" PRIx64 ", size: %" PRIu64" phys_addr=0x%" PRIx64 " entries=%u\n", virt_addr, size, phys_addr, ggtt_ptes); } |