Index: webrtc/base/task_queue_win.cc |
diff --git a/webrtc/base/task_queue_win.cc b/webrtc/base/task_queue_win.cc |
index 6d7ca4e6df57c87048348d43129e2059cbe7a8b3..81b1cd1b9f390ce177369602f50638249300b527 100644 |
--- a/webrtc/base/task_queue_win.cc |
+++ b/webrtc/base/task_queue_win.cc |
@@ -61,7 +61,7 @@ TaskQueue::TaskQueue(const char* queue_name) |
TaskQueue::~TaskQueue() { |
RTC_DCHECK(!IsCurrent()); |
while (!PostThreadMessage(thread_.GetThreadRef(), WM_QUIT, 0, 0)) { |
- RTC_CHECK_EQ(static_cast<DWORD>(ERROR_NOT_ENOUGH_QUOTA), ::GetLastError()); |
+ RTC_CHECK_EQ(ERROR_NOT_ENOUGH_QUOTA, ::GetLastError()); |
Sleep(1); |
} |
thread_.Stop(); |