git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
a2e8466
)
Merge branch 'c++11' of github.com:novacoin-project/novacoin into c++11
author
CryptoManiac
<balthazar@yandex.ru>
Mon, 11 Apr 2016 20:12:20 +0000 (23:12 +0300)
committer
CryptoManiac
<balthazar@yandex.ru>
Mon, 11 Apr 2016 20:12:20 +0000 (23:12 +0300)
src/main.cpp
patch
|
blob
|
history
diff --git
a/src/main.cpp
b/src/main.cpp
index
a9d20b3
..
fd1f25f
100644
(file)
--- a/
src/main.cpp
+++ b/
src/main.cpp
@@
-2976,7
+2976,7
@@
bool LoadExternalBlockFile(FILE* fileIn, CClientUIInterface& uiInterface)
};
if (nBlockLength > 0)
{
- if (nBlockLength > distance(it, pchData.end()))
+ if (nBlockLength > (uint32_t)distance(it, pchData.end()))
{
SeekToNext();
break; // We've reached the end of buffer