mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-28 10:50:39 +02:00
iris: Explicitly cast value to uint64_t
In FreeBSD x86 and aarch64 __u64 is typedef to unsigned long and is the same size as unsigned long long. Since we are explicitly specifying the format, cast the value to the proper type. Reviewed-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Emmanuel <manu@FreeBSD.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3559>
This commit is contained in:
parent
708db983dd
commit
565a80450d
1 changed files with 2 additions and 2 deletions
|
|
@ -105,11 +105,11 @@ dump_validation_list(struct iris_batch *batch)
|
|||
uint64_t flags = batch->validation_list[i].flags;
|
||||
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",
|
||||
fprintf(stderr, "[%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,
|
||||
(uint64_t)batch->validation_list[i].offset,
|
||||
batch->exec_bos[i]->size,
|
||||
batch->exec_bos[i]->refcount,
|
||||
(flags & EXEC_OBJECT_WRITE) ? " (write)" : "");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue