[Mesa-dev] [PATCH] vbo: fix debug message format string in case of 32-bit machines
Jan Ziak
0xe2.0x9a.0x9b at gmail.com
Mon Aug 1 22:35:27 UTC 2016
Signed-off-by: Jan Ziak (http://atom-symbol.net) <0xe2.0x9a.0x9b at gmail.com>
---
src/mesa/vbo/vbo_exec_array.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mesa/vbo/vbo_exec_array.c b/src/mesa/vbo/vbo_exec_array.c
index 90f1321..fe74c73 100644
--- a/src/mesa/vbo/vbo_exec_array.c
+++ b/src/mesa/vbo/vbo_exec_array.c
@@ -1680,7 +1680,7 @@ vbo_exec_MultiDrawArraysIndirectCount(GLenum mode,
if (MESA_VERBOSE & VERBOSE_DRAW)
_mesa_debug(ctx, "glMultiDrawArraysIndirectCountARB"
- "(%s, %lx, %lx, %i, %i)\n",
+ "(%s, %zx, %zx, %i, %i)\n",
_mesa_enum_to_string(mode), indirect,
drawcount, maxdrawcount, stride);
@@ -1708,7 +1708,7 @@ vbo_exec_MultiDrawElementsIndirectCount(GLenum mode, GLenum type,
if (MESA_VERBOSE & VERBOSE_DRAW)
_mesa_debug(ctx, "glMultiDrawElementsIndirectCountARB"
- "(%s, %s, %lx, %lx, %i, %i)\n",
+ "(%s, %s, %zx, %zx, %i, %i)\n",
_mesa_enum_to_string(mode),
_mesa_enum_to_string(type), indirect,
drawcount, maxdrawcount, stride);
More information about the mesa-dev
mailing list