X-Git-Url: http://xvm.mit.edu/gitweb/invirt/third/libt4.git/blobdiff_plain/7312c5fd3b74fd9cad485121bc31fc501accd355..eeab3e6cade87c1fe0a5f3d93522e12ccb9ec2ab:/rpc/rpc.cc diff --git a/rpc/rpc.cc b/rpc/rpc.cc index 9d9f1e2..f0c4b77 100644 --- a/rpc/rpc.cc +++ b/rpc/rpc.cc @@ -324,7 +324,7 @@ rpcc::get_refconn(connection **ch) // // this function keeps no reference for connection *c bool -rpcc::got_pdu(connection *c, char *b, int sz) +rpcc::got_pdu(connection *c, char *b, size_t sz) { unmarshall rep(b, sz); reply_header h; @@ -412,7 +412,7 @@ rpcs::~rpcs() } bool -rpcs::got_pdu(connection *c, char *b, int sz) +rpcs::got_pdu(connection *c, char *b, size_t sz) { if(!reachable_){ jsl_log(JSL_DBG_1, "rpcss::got_pdu: not reachable\n");