summaryrefslogtreecommitdiffstats
path: root/src/mesa/program
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-11-29 07:26:01 -0700
committerBrian Paul <[email protected]>2011-11-30 06:57:37 -0700
commit76374e60cd7ec6519aae77cb98a747710114bae2 (patch)
treeb5ea7a06169382f680b5f6e1532587b4b7a081b5 /src/mesa/program
parent1ad5a1a2460dcfe2dd36e19e8699aa58c4a46025 (diff)
mesa: fix printf format warning in _mesa_fprint_program_parameters()
Diffstat (limited to 'src/mesa/program')
-rw-r--r--src/mesa/program/prog_print.c4
1 files changed, 2 insertions, 2 deletions
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));