mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 11:28:05 +02:00
asahi: Fix 32-bit x86 build with correct data type for overflow error message
Currently, when building on 32-bit x86, we get compilation errors due to data type mis-matches in the format string. This should fix the issue. Signed-off-by: Neal Gompa <neal@gompa.dev> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25052>
This commit is contained in:
parent
cce1933ca5
commit
251008c1bf
1 changed files with 2 additions and 2 deletions
|
|
@ -234,8 +234,8 @@ __agxdecode_fetch_gpu_mem(const struct agx_bo *mem, uint64_t gpu_va,
|
|||
fprintf(stderr,
|
||||
"Overflowing to unknown memory %" PRIx64
|
||||
" of size %zu (max size %zu) in %s:%d\n",
|
||||
gpu_va, size, mem->size - (gpu_va - mem->ptr.gpu), filename,
|
||||
line);
|
||||
gpu_va, size, (size_t)(mem->size - (gpu_va - mem->ptr.gpu)),
|
||||
filename, line);
|
||||
fflush(agxdecode_dump_stream);
|
||||
assert(0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue