summaryrefslogtreecommitdiffstats
path: root/progs/tests/packedpixels.c
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2009-12-20 01:01:00 -0800
committerVinson Lee <[email protected]>2009-12-20 01:01:00 -0800
commit0dd951387405fc67b93c675d6a462ce020504719 (patch)
tree315f442f6e326135837415085b7aab001b901c63 /progs/tests/packedpixels.c
parentd87d71036cf546488981d3bd174fde967533bad2 (diff)
progs/tests: Silence compiler warnings.
Diffstat (limited to 'progs/tests/packedpixels.c')
-rw-r--r--progs/tests/packedpixels.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/progs/tests/packedpixels.c b/progs/tests/packedpixels.c
index 1703b271cb0..1a9c2fedf01 100644
--- a/progs/tests/packedpixels.c
+++ b/progs/tests/packedpixels.c
@@ -252,8 +252,8 @@ Draw(void)
glPushMatrix();
glTranslatef(2, (i + 1) * (h + 2), 0);
glRasterPos2i(8, 6);
- sprintf(s, "Internal Texture Format [f/F]: %s (%d of %d)",
- IntFormats[CurFormat].name, CurFormat + 1, NUM_INT_FORMATS);
+ sprintf(s, "Internal Texture Format [f/F]: %s (%d of %lu)",
+ IntFormats[CurFormat].name, CurFormat + 1, (unsigned long) NUM_INT_FORMATS);
PrintString(s);
glPopMatrix();