Bugfix: %-12I64d is not valid and causes the parameter to be skipped, use %12"PRI64d" instead

This commit is contained in:
Luke Dashjr
2012-05-05 02:41:43 +00:00
committed by Gregory Maxwell
parent 46c08874aa
commit 82e6b92b0a
2 changed files with 2 additions and 2 deletions

View File

@@ -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