From: Brian Paul Date: Fri, 13 Nov 2009 06:06:54 +0000 (-0700) Subject: progs/tests: silence warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fcf8dea36ce2bbeabeacc7a062f0c36326825ffa;p=mesa.git progs/tests: silence warning --- 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();