commit | 8605c297cfb8068737991601f163f866395c41c9 | [log] [tgz] |
---|---|---|
author | Eric Anholt <eric@anholt.net> | Wed Jul 28 16:53:51 2010 -0700 |
committer | Eric Anholt <eric@anholt.net> | Wed Jul 28 17:32:11 2010 -0700 |
tree | bff3ebbd87870e3bf4742098c275d3761c81eb13 | |
parent | 192b57df8c451c7ae39e5471124a9bab36ec17f8 [diff] [blame] |
glcpp: Print integer tokens as decimal, not hex.
diff --git a/src/glsl/glcpp/glcpp-parse.c b/src/glsl/glcpp/glcpp-parse.c index 8fbbdab..bfbd97f 100644 --- a/src/glsl/glcpp/glcpp-parse.c +++ b/src/glsl/glcpp/glcpp-parse.c
@@ -3041,7 +3041,7 @@ switch (token->type) { case INTEGER: - glcpp_printf (*out, "%" PRIxMAX, token->value.ival); + glcpp_printf (*out, "%" PRIiMAX, token->value.ival); break; case IDENTIFIER: case INTEGER_STRING: