X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=lib%2Fpdu.c;h=597b44cf8f8d119db53effa6e56a5cb8149ea46f;hb=d14e28387f825d7acc33d655db7a22506b064d83;hp=1a9547f57b50ef3c92d043e6971b0e4db14b3afb;hpb=763cd6e3e2bbb6906186e7ed6a86660276b596b7;p=deb_libnfs.git diff --git a/lib/pdu.c b/lib/pdu.c index 1a9547f..597b44c 100644 --- 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);