Merge branch 'mesa_7_6_branch' into mesa_7_7_branch
[mesa.git] / progs / tests / packedpixels.c
index a08e7c2b922de9b9cc5880e929a2879e60478edb..1e70a31151a60118970b4e2efe94c2f1096876ed 100644 (file)
@@ -272,8 +272,9 @@ 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);
+           IntFormats[CurFormat].name, CurFormat + 1, (unsigned long) NUM_INT_FORMATS);
    PrintString(s);
    glPopMatrix();