summaryrefslogtreecommitdiffstats
path: root/src/ByteBuffer.h
diff options
context:
space:
mode:
authorSamuel Barney <samjbarney@gmail.com>2013-12-05 15:32:19 +0100
committerSamuel Barney <samjbarney@gmail.com>2013-12-05 15:32:19 +0100
commit8acfe21503f4b4fdccd03d0927ec8a11cd6457ec (patch)
tree1ea90086621fc11d433cd94ccd635d54c5a4380a /src/ByteBuffer.h
parentMade suggested changes (diff)
parentProtoProxy: Fixed metadata parsing. (diff)
downloadcuberite-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.h2
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