X-Git-Url: http://xvm.mit.edu/gitweb/invirt/third/libt4.git/blobdiff_plain/7312c5fd3b74fd9cad485121bc31fc501accd355..eeab3e6cade87c1fe0a5f3d93522e12ccb9ec2ab:/rpc/rpc.h?ds=inline diff --git a/rpc/rpc.h b/rpc/rpc.h index 20a0aa9..1348dc8 100644 --- a/rpc/rpc.h +++ b/rpc/rpc.h @@ -105,7 +105,7 @@ class rpcc : public chanmgr { int call1(unsigned int proc, marshall &req, unmarshall &rep, TO to); - bool got_pdu(connection *c, char *b, int sz); + bool got_pdu(connection *c, char *b, size_t sz); template @@ -247,7 +247,7 @@ class rpcs : public chanmgr { void set_reachable(bool r) { reachable_ = r; } - bool got_pdu(connection *c, char *b, int sz); + bool got_pdu(connection *c, char *b, size_t sz); template void reg(unsigned int proc, F f, C *c=nullptr); };