aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2012-05-05 02:41:43 +0000
committerGregory Maxwell <greg@xiph.org>2012-05-05 14:24:55 -0400
commit82e6b92b0ac75ed15014e5b1723299fa838ce82e (patch)
treeba2fc3c9f6eee890cfd0ff276c809ca7c257024e /src/main.cpp
parent46c08874aadc101e8d3880ff97bcad682f072271 (diff)
Bugfix: %-12I64d is not valid and causes the parameter to be skipped, use %12"PRI64d" instead
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 427e435a90..c1c57d1d2b 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -3188,7 +3188,7 @@ CBlock* CreateNewBlock(CReserveKey& reservekey)
dPriority += (double)nValueIn * nConf;
if (fDebug && GetBoolArg("-printpriority"))
- printf("priority nValueIn=%-12I64d nConf=%-5d dPriority=%-20.1f\n", nValueIn, nConf, dPriority);
+ printf("priority nValueIn=%-12"PRI64d" nConf=%-5d dPriority=%-20.1f\n", nValueIn, nConf, dPriority);
}
// Priority is sum(valuein * age) / txsize