summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-05-29 18:07:35 -0600
committerBrian Paul <[email protected]>2013-05-29 18:07:35 -0600
commit83aaf61e24d43e5b7ddd07b16aa4d4b460c0b2a9 (patch)
treedf54d20acc706a46e9292ac06612ac558eee1e84 /src/gallium
parent71682c1599c3fe0096cccfdbd8eb762cd909fbd8 (diff)
draw: add cast in debug_printf() to silence warning
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/draw/draw_pt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt.c b/src/gallium/auxiliary/draw/draw_pt.c
index 14dde67b24c..ce36ed09623 100644
--- a/src/gallium/auxiliary/draw/draw_pt.c
+++ b/src/gallium/auxiliary/draw/draw_pt.c
@@ -529,7 +529,7 @@ draw_vbo(struct draw_context *draw,
i,
draw->pt.vertex_buffer[i].stride,
draw->pt.vertex_buffer[i].buffer_offset,
- draw->pt.user.vbuffer[i].size,
+ (int) draw->pt.user.vbuffer[i].size,
draw->pt.user.vbuffer[i].map);
}
}