From c5b31d4f03a94ade7a6834e97703997229f4e7a5 Mon Sep 17 00:00:00 2001 From: Lynix Date: Wed, 25 Jun 2014 19:35:53 +0200 Subject: [PATCH] Replaced CreateSemaphore call by CreateSemaphoreW Former-commit-id: 8f1897c846bc08d79a7298b1d95a2319c1aefffd --- src/Nazara/Core/Win32/SemaphoreImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Nazara/Core/Win32/SemaphoreImpl.cpp b/src/Nazara/Core/Win32/SemaphoreImpl.cpp index b126c13ea..2561f4846 100644 --- a/src/Nazara/Core/Win32/SemaphoreImpl.cpp +++ b/src/Nazara/Core/Win32/SemaphoreImpl.cpp @@ -10,7 +10,7 @@ NzSemaphoreImpl::NzSemaphoreImpl(unsigned int count) { - m_semaphore = CreateSemaphore(nullptr, count, std::numeric_limits::max(), nullptr); + m_semaphore = CreateSemaphoreW(nullptr, count, std::numeric_limits::max(), nullptr); if (!m_semaphore) NazaraError("Failed to create semaphore: " + NzError::GetLastSystemError()); }