Merge branch 'mesa_7_6_branch' into mesa_7_7_branch
[mesa.git] / progs / tests / packedpixels.c
index c8884bb79f1da48897eb6314fd9f43a99f689f4e..1e70a31151a60118970b4e2efe94c2f1096876ed 100644 (file)
@@ -274,6 +274,7 @@ Draw(void)
    glRasterPos2i(8, 6);
    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();