Merge pull request #1788 from Diapolo/fix_unsigned_BlockFilePath

fix signed/unsigned usage in BlockFilePath()
This commit is contained in:
Jeff Garzik 2012-09-04 23:38:37 -07:00
commit b930a2a6be

View file

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