progs/xdemos: Silence compiler warnings in glxinfo.c.

This commit is contained in:
Vinson Lee 2009-12-12 02:06:51 -08:00
parent d5be33477e
commit 15c6558a2e

View file

@ -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) {