(get_type): Use "long long" for TOK_HYPER. Otherwise isvectordef will loop infinitely if typedef hyper int64_6 is seen. (unsigned_dec): Use "unsigned long long" for similar reasons.

This commit is contained in:
Ulrich Drepper 2004-09-28 01:57:41 +00:00
parent a044c713b0
commit 357420c512
1 changed files with 6 additions and 6 deletions

View File

@ -622,7 +622,7 @@ get_type (const char **prefixp, const char **typep, defkind dkind)
(void) peekscan (TOK_INT, &tok);
break;
case TOK_HYPER:
*typep = "int64_t";
*typep = "long long";
(void) peekscan(TOK_INT, &tok);
break;
case TOK_VOID:
@ -670,7 +670,7 @@ unsigned_dec (const char **typep)
break;
case TOK_HYPER:
get_token (&tok);
*typep = "uint64_t";
*typep = "unsigned long long";
(void) peekscan(TOK_INT, &tok);
break;
case TOK_INT: