mesa: fix printf format warning in _mesa_fprint_program_parameters()
authorBrian Paul <brianp@vmware.com>
Tue, 29 Nov 2011 14:26:01 +0000 (07:26 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 30 Nov 2011 13:57:37 +0000 (06:57 -0700)
src/mesa/program/prog_print.c

index dfccc60f694cb9969f7860623941482a2dbab480..f2b91979f7d6c53a0e26cb8508a0c6adb854b5af 100644 (file)
@@ -925,8 +925,8 @@ _mesa_fprint_program_parameters(FILE *f,
 {
    GLuint i;
 
-   fprintf(f, "InputsRead: 0x%x (0b%s)\n",
-                 prog->InputsRead, binary(prog->InputsRead));
+   fprintf(f, "InputsRead: 0x%llx (0b%s)\n",
+           (unsigned long long) prog->InputsRead, binary(prog->InputsRead));
    fprintf(f, "OutputsWritten: 0x%llx (0b%s)\n",
                  (unsigned long long)prog->OutputsWritten, 
                 binary(prog->OutputsWritten));