From fd09727a7d93c4669aa0adfced63fcd4972984bb Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Wed, 23 Jun 2021 10:25:57 +1000 Subject: [PATCH] crocus: Explicitly cast value to uint64_t Ports 565a80450d28f6daa0ca8b98dad93924e712f94b from iris. Acked-by: Jason Ekstrand Part-of: --- src/gallium/drivers/crocus/crocus_batch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/crocus/crocus_batch.c b/src/gallium/drivers/crocus/crocus_batch.c index 037360c73cb..d2f9791a304 100644 --- a/src/gallium/drivers/crocus/crocus_batch.c +++ b/src/gallium/drivers/crocus/crocus_batch.c @@ -110,9 +110,9 @@ dump_validation_list(struct crocus_batch *batch) assert(batch->validation_list[i].handle == batch->exec_bos[i]->gem_handle); fprintf(stderr, - "[%2d]: %2d %-14s @ 0x%016llx (%" PRIu64 "B)\t %2d refs %s\n", i, + "[%2d]: %2d %-14s @ 0x%"PRIx64" (%" PRIu64 "B)\t %2d refs %s\n", i, batch->validation_list[i].handle, batch->exec_bos[i]->name, - batch->validation_list[i].offset, batch->exec_bos[i]->size, + (uint64_t)batch->validation_list[i].offset, batch->exec_bos[i]->size, batch->exec_bos[i]->refcount, (flags & EXEC_OBJECT_WRITE) ? " (write)" : ""); }