diff options
| author | Stefan Boberg <[email protected]> | 2025-07-14 14:49:35 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2025-07-14 14:50:24 +0200 |
| commit | e9849704079e7f5c7669f177c7363484cb10eb74 (patch) | |
| tree | 51bda60821e8beb5bf4ed6dccf36ae41b9594b74 | |
| parent | fixed recording replay by always using recovery path (diff) | |
| download | zen-rpc-analyze.tar.xz zen-rpc-analyze.zip | |
fixed C4244 warnings in unfinished coderpc-analyze
| -rw-r--r-- | src/zen/cmds/rpcreplay_cmd.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/zen/cmds/rpcreplay_cmd.cpp b/src/zen/cmds/rpcreplay_cmd.cpp index 85ee31f8c..01e7191b3 100644 --- a/src/zen/cmds/rpcreplay_cmd.cpp +++ b/src/zen/cmds/rpcreplay_cmd.cpp @@ -681,7 +681,7 @@ RpcReplayAnalyzeCommand::Run(const ZenCliOptions& GlobalOptions, int argc, char* struct RpcPayloads { - int PayloadToId(int RpcId, int PayloadIndex, const IoHash& PayloadHash, uint32_t PayloadSize) + uint64_t PayloadToId(int RpcId, int PayloadIndex, const IoHash& PayloadHash, uint32_t PayloadSize) { ZEN_UNUSED(RpcId, PayloadIndex, PayloadHash, PayloadSize); @@ -697,7 +697,7 @@ RpcReplayAnalyzeCommand::Run(const ZenCliOptions& GlobalOptions, int argc, char* struct RpcCacheRequest { - int CacheRequestToId(int RpcId, int KeyId, uint64_t PayloadId) + uint64_t CacheRequestToId(int RpcId, int KeyId, uint64_t PayloadId) { ZEN_UNUSED(RpcId, KeyId, PayloadId); @@ -733,6 +733,7 @@ RpcReplayAnalyzeCommand::Run(const ZenCliOptions& GlobalOptions, int argc, char* } const int SessionId = Ss.SessionToId(RequestInfo.SessionId); + ZEN_UNUSED(SessionId); CbPackage RequestPackage; CbObject Request; |