squelch compiler warnings in socket.c about integer sizes
[deb_libnfs.git] / lib / pdu.c
index 1a9547f57b50ef3c92d043e6971b0e4db14b3afb..597b44cf8f8d119db53effa6e56a5cb8149ea46f 100644 (file)
--- a/lib/pdu.c
+++ b/lib/pdu.c
@@ -237,7 +237,7 @@ int rpc_process_pdu(struct rpc_context *rpc, char *buf, int size)
        /* reassembly */
        if (recordmarker != 0 && rpc->fragments != NULL) {
                struct rpc_fragment *fragment;
-               uint64_t total = size - 4;
+               uint32_t total = size - 4;
                char *ptr;
 
                zdr_destroy(&zdr);