From 5aea7523371799d6b57e6d92c80d1f6696076f18 Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Tue, 8 Nov 2022 09:16:27 -0500 Subject: [PATCH] Fix compiler warnings --- src/miner.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/miner.cpp b/src/miner.cpp index e8732612a..92acea2d9 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -1277,7 +1277,7 @@ void static RandomXMiner() rxdebug("%s: Checking solution against target\n"); pblock->nSolution = soln; solutionTargetChecks.increment(); - rxdebug("%s: solutionTargetChecks=%d\n", solutionTargetChecks.get()); + fprintf(stderr,"%s: solutionTargetChecks=%lu\n", __func__, solutionTargetChecks.get()); B = *pblock; h = UintToArith256(B.GetHash()); @@ -1646,6 +1646,7 @@ void static BitcoinMiner() LogPrint("pow", "- Checking solution against target\n"); pblock->nSolution = soln; solutionTargetChecks.increment(); + rxdebug("%s: solutionTargetChecks=%lu\n", solutionTargetChecks.get()); B = *pblock; h = UintToArith256(B.GetHash()); /*for (z=31; z>=16; z--)