aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2012-09-05 08:34:41 +0200
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2012-09-05 08:34:41 +0200
commit8d367c7e66e033f317f9f7943e8b718efa303935 (patch)
treea70400492e72485d3c2d441f15fbfcb561dfdd53
parent42613c97d5dd8581d8dfd2cbe443736f8c539973 (diff)
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;
}