From 8d367c7e66e033f317f9f7943e8b718efa303935 Mon Sep 17 00:00:00 2001 From: Philip Kaufmann Date: Wed, 5 Sep 2012 08:34:41 +0200 Subject: fix signed/unsigned usage in BlockFilePath() --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3