mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-12 04:40:42 +01:00
kk: Fix debug printf specifier
On i686-pc-linux-gnu, `offset` is larger than a long. Signed-off-by: Jan Alexander Steffens (heftig) <heftig@archlinux.org> Reviewed-by: Arcady Goldmints-Orlov <arcady@lunarg.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40106>
This commit is contained in:
parent
16c9cc9d08
commit
8720bea4cb
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ static void
|
|||
debug_callback(void *priv, enum nir_spirv_debug_level debuglevel, size_t offset,
|
||||
const char *message)
|
||||
{
|
||||
fprintf(stderr, "<%d> at %ld %s\n", debuglevel, offset, message);
|
||||
fprintf(stderr, "<%d> at %zu %s\n", debuglevel, offset, message);
|
||||
}
|
||||
|
||||
static int
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue