Browse Source

fix signed/unsigned usage in BlockFilePath()

miguelfreitas
Philip Kaufmann 12 years ago
parent
commit
8d367c7e66
  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