diff options
| author | Luke Dashjr <[email protected]> | 2012-05-05 02:41:43 +0000 |
|---|---|---|
| committer | Luke Dashjr <[email protected]> | 2012-05-06 05:27:38 +0000 |
| commit | d41f22cb7675e8d45160511c3f45e51ba5dbbd00 (patch) | |
| tree | 380d0e7b11217bf51de1c7a0d5e8e256c4e21912 /src/main.cpp | |
| parent | Merge branch '0.6.0.x' into 0.6.x (diff) | |
| download | discoin-d41f22cb7675e8d45160511c3f45e51ba5dbbd00.tar.xz discoin-d41f22cb7675e8d45160511c3f45e51ba5dbbd00.zip | |
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.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 427e435a9..c1c57d1d2 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 |