From 0829b186b7179210cc784318d76b6ad02b7fe423 Mon Sep 17 00:00:00 2001 From: Vort Date: Fri, 10 Feb 2023 01:57:43 +0200 Subject: [PATCH] Fix debug log output --- libi2pd/NetDb.cpp | 2 +- libi2pd/SSU2Session.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libi2pd/NetDb.cpp b/libi2pd/NetDb.cpp index 0ffdb3ef..4a6fed70 100644 --- a/libi2pd/NetDb.cpp +++ b/libi2pd/NetDb.cpp @@ -834,7 +834,7 @@ namespace data } else // all others are considered as LeaseSet2 { - LogPrint (eLogDebug, "NetDb: Store request: LeaseSet2 of type ", storeType, " for ", ident.ToBase32()); + LogPrint (eLogDebug, "NetDb: Store request: LeaseSet2 of type ", int(storeType), " for ", ident.ToBase32()); updated = AddLeaseSet2 (ident, buf + offset, len - offset, storeType); } } diff --git a/libi2pd/SSU2Session.cpp b/libi2pd/SSU2Session.cpp index ac570b84..76dce891 100644 --- a/libi2pd/SSU2Session.cpp +++ b/libi2pd/SSU2Session.cpp @@ -2308,7 +2308,7 @@ namespace transport void SSU2Session::HandleI2NPMsg (std::shared_ptr&& msg) { if (!msg) return; - int32_t msgID = msg->GetMsgID (); + uint32_t msgID = msg->GetMsgID (); if (!msg->IsExpired ()) { // m_LastActivityTimestamp is updated in ProcessData before