summaryrefslogtreecommitdiffstats
path: root/progs/tests
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-11-12 23:06:54 -0700
committerBrian Paul <[email protected]>2009-11-16 11:33:45 -0700
commitfcf8dea36ce2bbeabeacc7a062f0c36326825ffa (patch)
tree382bb9b254b7cbf81f2bead139aa0619434fe7f5 /progs/tests
parentf549f4c4b6012178df3706b26539ca672399260f (diff)
progs/tests: silence warning
Diffstat (limited to 'progs/tests')
-rw-r--r--progs/tests/packedpixels.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/tests/packedpixels.c b/progs/tests/packedpixels.c
index a08e7c2b922..c8884bb79f1 100644
--- a/progs/tests/packedpixels.c
+++ b/progs/tests/packedpixels.c
@@ -272,7 +272,7 @@ Draw(void)
glPushMatrix();
glTranslatef(2, (i + 1) * (h + 2), 0);
glRasterPos2i(8, 6);
- sprintf(s, "Internal Texture Format [f/F]: %s (%d of %d)",
+ sprintf(s, "Internal Texture Format [f/F]: %s (%d of %lu)",
IntFormats[CurFormat].name, CurFormat + 1, NUM_INT_FORMATS);
PrintString(s);
glPopMatrix();