From 76374e60cd7ec6519aae77cb98a747710114bae2 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 29 Nov 2011 07:26:01 -0700 Subject: [PATCH] mesa: fix printf format warning in _mesa_fprint_program_parameters() --- src/mesa/program/prog_print.c | 4 ++-- 1 file 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)); -- 2.30.2