Mesa (master): mesa: fix printf format warning in _mesa_fprint_program_parameters()
Brian Paul
brianp at kemper.freedesktop.org
Wed Nov 30 14:21:18 UTC 2011
Module: Mesa
Branch: master
Commit: 76374e60cd7ec6519aae77cb98a747710114bae2
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=76374e60cd7ec6519aae77cb98a747710114bae2
Author: Brian Paul <brianp at vmware.com>
Date: Tue Nov 29 07:26:01 2011 -0700
mesa: fix printf format warning in _mesa_fprint_program_parameters()
---
src/mesa/program/prog_print.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mesa/program/prog_print.c b/src/mesa/program/prog_print.c
index dfccc60..f2b9197 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));
More information about the mesa-commit
mailing list