diff options
author | madmaxoft <github@xoft.cz> | 2014-06-30 22:37:26 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-07-01 22:48:01 +0200 |
commit | 7177806d31a5c6df52a8439bee2f4d150fa0eb47 (patch) | |
tree | ab9e70edb3e1b08939c5da9ef0dfde8bf91c6f9c /src/OSSupport/IsThread.cpp | |
parent | Fixed a possibly unused variable. (diff) | |
download | cuberite-7177806d31a5c6df52a8439bee2f4d150fa0eb47.tar cuberite-7177806d31a5c6df52a8439bee2f4d150fa0eb47.tar.gz cuberite-7177806d31a5c6df52a8439bee2f4d150fa0eb47.tar.bz2 cuberite-7177806d31a5c6df52a8439bee2f4d150fa0eb47.tar.lz cuberite-7177806d31a5c6df52a8439bee2f4d150fa0eb47.tar.xz cuberite-7177806d31a5c6df52a8439bee2f4d150fa0eb47.tar.zst cuberite-7177806d31a5c6df52a8439bee2f4d150fa0eb47.zip |
Diffstat (limited to 'src/OSSupport/IsThread.cpp')
-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 67f336c97..1a436623a 100644 --- a/src/OSSupport/IsThread.cpp +++ b/src/OSSupport/IsThread.cpp @@ -90,7 +90,7 @@ bool cIsThread::Start(void) m_Handle = CreateThread(NULL, 0, thrExecute, this, CREATE_SUSPENDED, &m_ThreadID); if (m_Handle == NULL) { - LOGERROR("ERROR: Could not create thread \"%s\", GLE = %d!", m_ThreadName.c_str(), GetLastError()); + LOGERROR("ERROR: Could not create thread \"%s\", GLE = %u!", m_ThreadName.c_str(), (unsigned)GetLastError()); return false; } ResumeThread(m_Handle); |