aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@exmulti.com>2012-09-04 23:38:37 -0700
committerJeff Garzik <jgarzik@exmulti.com>2012-09-04 23:38:37 -0700
commitb930a2a6bee39a769e8bb90e5ad4da79e3f2c9c9 (patch)
treea70400492e72485d3c2d441f15fbfcb561dfdd53
parent42613c97d5dd8581d8dfd2cbe443736f8c539973 (diff)
parent8d367c7e66e033f317f9f7943e8b718efa303935 (diff)
Merge pull request #1788 from Diapolo/fix_unsigned_BlockFilePath
fix signed/unsigned usage in BlockFilePath()
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 9e2ebb932e..424e8dfdd9 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1993,7 +1993,7 @@ bool CheckDiskSpace(uint64 nAdditionalBytes)
static filesystem::path BlockFilePath(unsigned int nFile)
{
- string strBlockFn = strprintf("blk%04d.dat", nFile);
+ string strBlockFn = strprintf("blk%04u.dat", nFile);
return GetDataDir() / strBlockFn;
}