Merge pull request #1788 from Diapolo/fix_unsigned_BlockFilePath
fix signed/unsigned usage in BlockFilePath()
This commit is contained in:
commit
b930a2a6be
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue