changeset 3459:678b9811a9e8 draft

Merge pull request #1788 from Diapolo/fix_unsigned_BlockFilePath fix signed/unsigned usage in BlockFilePath()
author Jeff Garzik <jgarzik@exmulti.com>
date Tue, 04 Sep 2012 23:38:37 -0700
parents 1b19ca5ac29f (current diff) 6608ee61389b (diff)
children 67371d830fb7
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1993,7 +1993,7 @@
 
 static filesystem::path BlockFilePath(unsigned int nFile)
 {
-    string strBlockFn = strprintf("blk%04d.dat", nFile);
+    string strBlockFn = strprintf("blk%04u.dat", nFile);
     return GetDataDir() / strBlockFn;
 }