diff --git a/src/alert.cpp b/src/alert.cpp index 94143c7..6b1af9a 100644 --- a/src/alert.cpp +++ b/src/alert.cpp @@ -53,8 +53,8 @@ std::string CUnsignedAlert::ToString() const return strprintf( "CAlert(\n" " nVersion = %d\n" - " nRelayUntil = %"PRId64"\n" - " nExpiration = %"PRId64"\n" + " nRelayUntil = %" PRId64 "\n" + " nExpiration = %" PRId64 "\n" " nID = %d\n" " nCancel = %d\n" " setCancel = %s\n" diff --git a/src/net.h b/src/net.h index 056bcf7..6742f31 100644 --- a/src/net.h +++ b/src/net.h @@ -422,7 +422,7 @@ public: // the key is the earliest time the request can be sent int64_t& nRequestTime = mapAlreadyAskedFor[inv]; if (fDebugNet) - printf("askfor %s %"PRId64" (%s)\n", inv.ToString().c_str(), nRequestTime, DateTimeStrFormat("%H:%M:%S", nRequestTime/1000000).c_str()); + printf("askfor %s %" PRId64 " (%s)\n", inv.ToString().c_str(), nRequestTime, DateTimeStrFormat("%H:%M:%S", nRequestTime/1000000).c_str()); // Make sure not to reuse time indexes to keep things in the same order int64_t nNow = (GetTime() - 1) * 1000000; diff --git a/src/util.h b/src/util.h index b1e651e..5334ac4 100644 --- a/src/util.h +++ b/src/util.h @@ -237,7 +237,7 @@ void runCommand(std::string strCommand); inline std::string i64tostr(int64_t n) { - return strprintf("%"PRId64, n); + return strprintf("%" PRId64, n); } inline std::string itostr(int n)