Switching a few types to their platform-agnostic versions.

This commit is contained in:
Ben Vanik
2015-07-15 22:09:19 -07:00
parent 91ae97e558
commit fefaa31cd8
14 changed files with 53 additions and 71 deletions

View File

@@ -106,8 +106,8 @@ void AudioSystem::WorkerThreadMain() {
// Main run loop.
while (worker_running_) {
auto result = xe::threading::WaitAny(
wait_handles_, DWORD(xe::countof(wait_handles_)), true);
auto result =
xe::threading::WaitAny(wait_handles_, xe::countof(wait_handles_), true);
if (result.first == xe::threading::WaitResult::kFailed ||
(result.first == xe::threading::WaitResult::kSuccess &&
result.second == kMaximumClientCount)) {