projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5be334
)
progs/xdemos: Silence compiler warnings in glxinfo.c.
author
Vinson Lee
<vlee@vmware.com>
Sat, 12 Dec 2009 10:06:51 +0000
(
02:06
-0800)
committer
Vinson Lee
<vlee@vmware.com>
Sat, 12 Dec 2009 10:06:51 +0000
(
02:06
-0800)
progs/xdemos/glxinfo.c
patch
|
blob
|
history
diff --git
a/progs/xdemos/glxinfo.c
b/progs/xdemos/glxinfo.c
index 23df82f6f903051a89f523db0e531d71893a6499..30cd5680642a9e630978d881f65f98046a32a130 100644
(file)
--- a/
progs/xdemos/glxinfo.c
+++ b/
progs/xdemos/glxinfo.c
@@
-116,7
+116,7
@@
print_extension_list(const char *ext)
return;
width = indent;
- printf(indentString);
+ printf(
"%s",
indentString);
i = j = 0;
while (1) {
if (ext[j] == ' ' || ext[j] == 0) {
@@
-126,7
+126,7
@@
print_extension_list(const char *ext)
/* start a new line */
printf("\n");
width = indent;
- printf(indentString);
+ printf(
"%s",
indentString);
}
/* print the extension name between ext[i] and ext[j] */
while (i < j) {