diff options
author | Philip Kaufmann <phil.kaufmann@t-online.de> | 2012-08-17 10:35:51 +0200 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2012-08-22 17:17:42 +0000 |
commit | f51b175e3c9f7326267ca0eef0dd8ae2f28b4fad (patch) | |
tree | 4a8bc80aeb6ef1fe4fb44ea70c16e62af08c95f5 /src/main.cpp | |
parent | 448f6b3d9b6d598f6a3db7807934d10fe94d5a71 (diff) | |
download | bitcoin-f51b175e3c9f7326267ca0eef0dd8ae2f28b4fad.tar.xz |
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 ef59d31f9a..9e1b228b2a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1705,7 +1705,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; |