diff options
| author | Pieter Wuille <[email protected]> | 2012-08-17 05:26:48 -0700 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2012-08-17 05:26:48 -0700 |
| commit | 63046fcf62473d8c29b9df753ee1b7d649b0c405 (patch) | |
| tree | 775772fca902bb20610e02018488fc92caddec39 /src/main.cpp | |
| parent | Merge pull request #1649 from Diapolo/optionsdialog (diff) | |
| parent | fix a compiler sign warning in OpenBlockFile() (diff) | |
| download | discoin-63046fcf62473d8c29b9df753ee1b7d649b0c405.tar.xz discoin-63046fcf62473d8c29b9df753ee1b7d649b0c405.zip | |
Merge pull request #1679 from Diapolo/fix_sign_warning
fix a compiler sign warning in OpenBlockFile()
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 23c6d988a..89f2709e6 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1983,7 +1983,7 @@ FILE* AppendBlockFile(unsigned int& nFileRet) if (fseek(file, 0, SEEK_END) != 0) return NULL; // FAT32 file size max 4GB, fseek and ftell max 2GB, so we must stay under 2GB - if (ftell(file) < 0x7F000000 - MAX_SIZE) + if (ftell(file) < (long)(0x7F000000 - MAX_SIZE)) { nFileRet = nCurrentBlockFile; return file; |