]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - tools/rpcgen/rpc_parse.c
1. Fix some typos in README.
[nfs-utils.git] / tools / rpcgen / rpc_parse.c
index 1e5b80a2c783f26e8694b59065ab490ce15c674a..dcbe8dbb13b29db87d44368e45d0e08ab0fd5fed 100644 (file)
@@ -564,8 +564,8 @@ get_type(char **prefixp, char **typep, defkind dkind)
                *typep = "short";
                (void) peekscan(TOK_INT, &tok);
                break;
-       case TOK_LONG:
-               *typep = "long";
+       case TOK_INT32:
+               *typep = "int32_t";
                (void) peekscan(TOK_INT, &tok);
                break;
        case TOK_VOID:
@@ -604,9 +604,9 @@ unsigned_dec(char **typep)
                *typep = "u_short";
                (void) peekscan(TOK_INT, &tok);
                break;
-       case TOK_LONG:
+       case TOK_INT32:
                get_token(&tok);
-               *typep = "u_long";
+               *typep = "u_int32_";
                (void) peekscan(TOK_INT, &tok);
                break;
        case TOK_INT: