X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=lib%2Fpdu.c;h=276515e64ea5c5b6e2493965a4376d4d3254b2e0;hb=183451cff566ac49ab872821e458e57b90e72710;hp=8cfae610b83c6819035537ce89518d5c65ec7c2a;hpb=1ec6b50aef06d7b3e27db1b406e080f7785677e9;p=deb_libnfs.git diff --git a/lib/pdu.c b/lib/pdu.c index 8cfae61..276515e 100644 --- a/lib/pdu.c +++ b/lib/pdu.c @@ -235,7 +235,7 @@ int rpc_process_pdu(struct rpc_context *rpc, char *buf, int size) /* reassembly */ if (recordmarker != 0 && rpc->fragments != NULL) { struct rpc_fragment *fragment; - size_t total = size - 4; + uint64_t total = size - 4; char *ptr; xdr_destroy(&xdr);