aboutsummaryrefslogtreecommitdiff
path: root/common/stream.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/stream.h')
-rw-r--r--common/stream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/stream.h b/common/stream.h
index 86abb06c33..ac0fa18296 100644
--- a/common/stream.h
+++ b/common/stream.h
@@ -226,7 +226,7 @@ private:
byte _encbyte;
public:
- MemoryReadStream(const byte *buf, uint32 len) : _ptr(buf), _ptrOrig(buf), _bufSize(len), _pos(0) {}
+ MemoryReadStream(const byte *buf, uint32 len) : _ptr(buf), _ptrOrig(buf), _bufSize(len), _pos(0), _encbyte(0) {}
void setEnc(byte value) { _encbyte = value; }