Replaced CreateSemaphore call by CreateSemaphoreW

Former-commit-id: 8f1897c846bc08d79a7298b1d95a2319c1aefffd
This commit is contained in:
Lynix 2014-06-25 19:35:53 +02:00
parent 4d27f12fec
commit c5b31d4f03
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@
NzSemaphoreImpl::NzSemaphoreImpl(unsigned int count)
{
m_semaphore = CreateSemaphore(nullptr, count, std::numeric_limits<LONG>::max(), nullptr);
m_semaphore = CreateSemaphoreW(nullptr, count, std::numeric_limits<LONG>::max(), nullptr);
if (!m_semaphore)
NazaraError("Failed to create semaphore: " + NzError::GetLastSystemError());
}