projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c0b943
)
mesa: Fix printf format specifier warn of the ptrdiff_t
author
Edward O'Callaghan
<eocallaghan@alterapraxis.com>
Wed, 29 Jul 2015 11:49:45 +0000
(21:49 +1000)
committer
Marek Olšák
<marek.olsak@amd.com>
Wed, 12 Aug 2015 23:25:26 +0000
(
01:25
+0200)
See §7.19.6.1, paragraph 7 of the ISO C specification.
Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/main/bufferobj.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/bufferobj.c
b/src/mesa/main/bufferobj.c
index
6ddcc5c
..
1cdea93
100644
(file)
--- a/
src/mesa/main/bufferobj.c
+++ b/
src/mesa/main/bufferobj.c
@@
-2373,7
+2373,7
@@
_mesa_map_buffer_range(struct gl_context *ctx,
if (offset + length > bufObj->Size) {
_mesa_error(ctx, GL_INVALID_VALUE,
- "%s(offset %
ld + length %ld > buffer_size %l
d)", func,
+ "%s(offset %
td + length %td > buffer_size %t
d)", func,
offset, length, bufObj->Size);
return NULL;
}