diff options
author | Samuel Barney <samjbarney@gmail.com> | 2013-12-05 15:32:19 +0100 |
---|---|---|
committer | Samuel Barney <samjbarney@gmail.com> | 2013-12-05 15:32:19 +0100 |
commit | 8acfe21503f4b4fdccd03d0927ec8a11cd6457ec (patch) | |
tree | 1ea90086621fc11d433cd94ccd635d54c5a4380a /src/ByteBuffer.h | |
parent | Made suggested changes (diff) | |
parent | ProtoProxy: Fixed metadata parsing. (diff) | |
download | cuberite-8acfe21503f4b4fdccd03d0927ec8a11cd6457ec.tar cuberite-8acfe21503f4b4fdccd03d0927ec8a11cd6457ec.tar.gz cuberite-8acfe21503f4b4fdccd03d0927ec8a11cd6457ec.tar.bz2 cuberite-8acfe21503f4b4fdccd03d0927ec8a11cd6457ec.tar.lz cuberite-8acfe21503f4b4fdccd03d0927ec8a11cd6457ec.tar.xz cuberite-8acfe21503f4b4fdccd03d0927ec8a11cd6457ec.tar.zst cuberite-8acfe21503f4b4fdccd03d0927ec8a11cd6457ec.zip |
Diffstat (limited to 'src/ByteBuffer.h')
-rw-r--r-- | src/ByteBuffer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ByteBuffer.h b/src/ByteBuffer.h index a9dd7f5ea..95c690203 100644 --- a/src/ByteBuffer.h +++ b/src/ByteBuffer.h @@ -123,7 +123,7 @@ protected: int m_BufferSize; // Total size of the ringbuffer #ifdef _DEBUG - unsigned long m_ThreadID; // Thread that is currently accessing the object, checked via cSingleThreadAccessChecker + volatile unsigned long m_ThreadID; // Thread that is currently accessing the object, checked via cSingleThreadAccessChecker #endif // _DEBUG int m_DataStart; // Where the data starts in the ringbuffer |