]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(get_type): Use "long long" for TOK_HYPER. Otherwise isvectordef will loop infinitel...
authorUlrich Drepper <drepper@redhat.com>
Tue, 28 Sep 2004 01:57:41 +0000 (01:57 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 28 Sep 2004 01:57:41 +0000 (01:57 +0000)
sunrpc/rpc_parse.c

index b036aa456d285f7ba8613cbca88088776fcbecf5..c4285d945ff024b0ce0b1f4336525567cd193d02 100644 (file)
@@ -621,10 +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";
+    case TOK_HYPER:
+      *typep = "long long";
       (void) peekscan(TOK_INT, &tok);
-         break;    
+      break;
     case TOK_VOID:
       if (dkind != DEF_UNION && dkind != DEF_PROGRAM)
        {
@@ -668,11 +668,11 @@ unsigned_dec (const char **typep)
       *typep = "u_long";
       (void) peekscan (TOK_INT, &tok);
       break;
-       case TOK_HYPER:
+    case TOK_HYPER:
       get_token (&tok);
-         *typep = "uint64_t";
+      *typep = "unsigned long long";
       (void) peekscan(TOK_INT, &tok);
-         break;    
+      break;
     case TOK_INT:
       get_token (&tok);
       *typep = "u_int";