mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-23 13:04:17 +00:00
fix signed/unsigned usage in BlockFilePath()
This commit is contained in:
parent
42613c97d5
commit
8d367c7e66
@ -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…
x
Reference in New Issue
Block a user