summaryrefslogtreecommitdiffstats
path: root/src/ByteBuffer.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-12-05 10:33:26 +0100
committermadmaxoft <github@xoft.cz>2013-12-05 10:33:26 +0100
commit321b25921379ad7c5196b9468acc4291ed375ba9 (patch)
tree174a094ebc39c24527b555ffab797367b0c0ee31 /src/ByteBuffer.h
parentFixed LuaStatic intermediate and output folders. (diff)
downloadcuberite-321b25921379ad7c5196b9468acc4291ed375ba9.tar
cuberite-321b25921379ad7c5196b9468acc4291ed375ba9.tar.gz
cuberite-321b25921379ad7c5196b9468acc4291ed375ba9.tar.bz2
cuberite-321b25921379ad7c5196b9468acc4291ed375ba9.tar.lz
cuberite-321b25921379ad7c5196b9468acc4291ed375ba9.tar.xz
cuberite-321b25921379ad7c5196b9468acc4291ed375ba9.tar.zst
cuberite-321b25921379ad7c5196b9468acc4291ed375ba9.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