diff options
| author | Jeff Garzik <[email protected]> | 2012-09-04 23:38:37 -0700 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2012-09-04 23:38:37 -0700 |
| commit | b930a2a6bee39a769e8bb90e5ad4da79e3f2c9c9 (patch) | |
| tree | a70400492e72485d3c2d441f15fbfcb561dfdd53 /src/main.cpp | |
| parent | Add block file naming helper, BlockFilePath() (diff) | |
| parent | fix signed/unsigned usage in BlockFilePath() (diff) | |
| download | discoin-b930a2a6bee39a769e8bb90e5ad4da79e3f2c9c9.tar.xz discoin-b930a2a6bee39a769e8bb90e5ad4da79e3f2c9c9.zip | |
Merge pull request #1788 from Diapolo/fix_unsigned_BlockFilePath
fix signed/unsigned usage in BlockFilePath()
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 9e2ebb932..424e8dfdd 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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; } |