projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d760a8
)
st/mesa: fix debug_printf() format string warning
author
Brian Paul
<brianp@vmware.com>
Mon, 4 Feb 2013 22:53:07 +0000
(15:53 -0700)
committer
Brian Paul
<brianp@vmware.com>
Sat, 23 Feb 2013 15:20:36 +0000
(08:20 -0700)
Use %td for ptrdiff_t (aka GLsizeiptrARB).
src/mesa/state_tracker/st_cb_bufferobjects.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_cb_bufferobjects.c
b/src/mesa/state_tracker/st_cb_bufferobjects.c
index d5167352c40d4103209fe5610bca219c113bd933..8ff32c8429186dd250866ea0a7b3691236bf6deb 100644
(file)
--- a/
src/mesa/state_tracker/st_cb_bufferobjects.c
+++ b/
src/mesa/state_tracker/st_cb_bufferobjects.c
@@
-232,7
+232,7
@@
st_bufferobj_data(struct gl_context *ctx,
pipe_resource_reference( &st_obj->buffer, NULL );
if (ST_DEBUG & DEBUG_BUFFER) {
- debug_printf("Create buffer size %
lu
bind 0x%x\n", size, bind);
+ debug_printf("Create buffer size %
td
bind 0x%x\n", size, bind);
}
if (size != 0) {