Browse Source

Merge pull request #1788 from Diapolo/fix_unsigned_BlockFilePath

fix signed/unsigned usage in BlockFilePath()
0.8
Jeff Garzik 12 years ago
parent
commit
b930a2a6be
  1. 2
      src/main.cpp

2
src/main.cpp

@ -1993,7 +1993,7 @@ bool CheckDiskSpace(uint64 nAdditionalBytes)
static filesystem::path BlockFilePath(unsigned int nFile) static filesystem::path BlockFilePath(unsigned int nFile)
{ {
string strBlockFn = strprintf("blk%04d.dat", nFile); string strBlockFn = strprintf("blk%04u.dat", nFile);
return GetDataDir() / strBlockFn; return GetDataDir() / strBlockFn;
} }

Loading…
Cancel
Save