diff options
Diffstat (limited to 'sunrpc/rpc_parse.c')
-rw-r--r-- | sunrpc/rpc_parse.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sunrpc/rpc_parse.c b/sunrpc/rpc_parse.c index e6c4e4a7aa..b036aa456d 100644 --- a/sunrpc/rpc_parse.c +++ b/sunrpc/rpc_parse.c @@ -621,6 +621,10 @@ get_type (const char **prefixp, const char **typep, defkind dkind) *typep = "long"; (void) peekscan (TOK_INT, &tok); break; + case TOK_HYPER: + *typep = "int64_t"; + (void) peekscan(TOK_INT, &tok); + break; case TOK_VOID: if (dkind != DEF_UNION && dkind != DEF_PROGRAM) { @@ -664,6 +668,11 @@ unsigned_dec (const char **typep) *typep = "u_long"; (void) peekscan (TOK_INT, &tok); break; + case TOK_HYPER: + get_token (&tok); + *typep = "uint64_t"; + (void) peekscan(TOK_INT, &tok); + break; case TOK_INT: get_token (&tok); *typep = "u_int"; |