diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2022-01-13 21:51:47 +0100 |
---|---|---|
committer | Alexander Harkness <me@bearbin.net> | 2022-01-14 20:43:29 +0100 |
commit | 903bcfc61fd031985e55a604293f85c2597a8320 (patch) | |
tree | a03926be8f4ba7aef37a1e349a26e541b95c3c0c /src/OSSupport | |
parent | so much big brain time - it hurts (diff) | |
download | cuberite-903bcfc61fd031985e55a604293f85c2597a8320.tar cuberite-903bcfc61fd031985e55a604293f85c2597a8320.tar.gz cuberite-903bcfc61fd031985e55a604293f85c2597a8320.tar.bz2 cuberite-903bcfc61fd031985e55a604293f85c2597a8320.tar.lz cuberite-903bcfc61fd031985e55a604293f85c2597a8320.tar.xz cuberite-903bcfc61fd031985e55a604293f85c2597a8320.tar.zst cuberite-903bcfc61fd031985e55a604293f85c2597a8320.zip |
Diffstat (limited to 'src/OSSupport')
-rw-r--r-- | src/OSSupport/IsThread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/OSSupport/IsThread.cpp b/src/OSSupport/IsThread.cpp index 03ca2bfc4..41f6b81bc 100644 --- a/src/OSSupport/IsThread.cpp +++ b/src/OSSupport/IsThread.cpp @@ -114,7 +114,7 @@ void cIsThread::SetThreadName() const #pragma pack(pop) const DWORD NAME_EXCEPTION = 0x406D1388; - const THREADNAME_INFO Name = { 0x1000, m_ThreadName.c_str(), static_cast<DWORD>(-1), 0 }; + const THREADNAME_INFO Name = { 0x1000, m_ThreadName.c_str(), DWORD(-1), 0 }; __try { |