git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Merge pull request #237 from svost/c4127
[novacoin.git]
/
src
/
serialize.h
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)