git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
410444e
)
Fix msvc c4127 warning
237/head
author
svost
<ya.nowa@yandex.ru>
Thu, 24 Sep 2015 18:07:46 +0000 (21:07 +0300)
committer
svost
<ya.nowa@yandex.ru>
Thu, 24 Sep 2015 18:07:46 +0000 (21:07 +0300)
src/serialize.h
patch
|
blob
|
history
diff --git
a/src/serialize.h
b/src/serialize.h
index
52328c3
..
ccd0145
100644
(file)
--- a/
src/serialize.h
+++ b/
src/serialize.h
@@
-1418,7
+1418,7
@@
public:
// search for a given byte in the stream, and remain positioned on it
void FindByte(char ch) {
- while (true) {
+ for ( ; ; ) {
if (nReadPos == nSrcPos)
Fill();
if (vchBuf[nReadPos % vchBuf.size()] == ch)