Change a size variable from uint64 to uint32 to squelch a warning
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Wed, 4 Jul 2012 21:12:11 +0000 (07:12 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Wed, 4 Jul 2012 21:12:11 +0000 (07:12 +1000)
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);