mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
glcpp: Print integer tokens as decimal, not hex.
This commit is contained in:
parent
192b57df8c
commit
8605c297cf
2 changed files with 2 additions and 2 deletions
|
|
@ -3041,7 +3041,7 @@ _token_print (char **out, token_t *token)
|
|||
|
||||
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:
|
||||
|
|
|
|||
|
|
@ -736,7 +736,7 @@ _token_print (char **out, token_t *token)
|
|||
|
||||
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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue