aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2025-07-14 14:49:35 +0200
committerStefan Boberg <[email protected]>2025-07-14 14:50:24 +0200
commite9849704079e7f5c7669f177c7363484cb10eb74 (patch)
tree51bda60821e8beb5bf4ed6dccf36ae41b9594b74
parentfixed recording replay by always using recovery path (diff)
downloadzen-rpc-analyze.tar.xz
zen-rpc-analyze.zip
fixed C4244 warnings in unfinished coderpc-analyze
-rw-r--r--src/zen/cmds/rpcreplay_cmd.cpp5
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;