projects
/
invirt/third/libt4.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Type cleanups
[invirt/third/libt4.git]
/
rpc
/
rpc.h
diff --git
a/rpc/rpc.h
b/rpc/rpc.h
index
20a0aa9
..
1348dc8
100644
(file)
--- 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);
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<class R>
template<class R>
@@
-247,7
+247,7
@@
class rpcs : public chanmgr {
void set_reachable(bool r) { reachable_ = r; }
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<class F, class C=void> void reg(unsigned int proc, F f, C *c=nullptr);
};
template<class F, class C=void> void reg(unsigned int proc, F f, C *c=nullptr);
};