We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8be723e commit 461a3aaCopy full SHA for 461a3aa
src/decoder.h
@@ -57,7 +57,7 @@ class RpcDecoder {
57
}
58
59
template<typename RType>
60
- bool get_response(const int msg_id, RType& result, RpcError& error) {
+ bool get_response(const uint32_t msg_id, RType& result, RpcError& error) {
61
62
if (!packet_incoming() || _packet_type!=RESP_MSG) return false;
63
@@ -111,7 +111,7 @@ class RpcDecoder {
111
};
112
113
int msg_type;
114
- int msg_id;
+ uint32_t msg_id;
115
MsgPack::str_t method;
116
MsgPack::arr_size_t req_size;
117
0 commit comments