From: Brian Paul Date: Tue, 29 Nov 2011 14:26:01 +0000 (-0700) Subject: mesa: fix printf format warning in _mesa_fprint_program_parameters() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=76374e60cd7ec6519aae77cb98a747710114bae2;p=mesa.git mesa: fix printf format warning in _mesa_fprint_program_parameters() --- diff --git a/src/mesa/program/prog_print.c b/src/mesa/program/prog_print.c index dfccc60f694..f2b91979f7d 100644 --- a/src/mesa/program/prog_print.c +++ b/src/mesa/program/prog_print.c @@ -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));