Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / webrtc / system_wrappers / source / thread_win.cc
index c68ee1a..bcb95e7 100644 (file)
@@ -159,7 +159,7 @@ void ThreadWindows::Run() {
   if (set_thread_name_) {
     WEBRTC_TRACE(kTraceStateInfo, kTraceUtility, id_,
                  "Thread with name:%s started ", name_);
-    SetThreadName(-1, name_); // -1, set thread name for the calling thread.
+    SetThreadName(static_cast<DWORD>(-1), name_); // -1 == caller thread.
   } else {
     WEBRTC_TRACE(kTraceStateInfo, kTraceUtility, id_,
                  "Thread without name started");