2
0
mirror of https://github.com/boostorg/thread.git synced 2026-01-29 08:02:12 +00:00

Fixed errors and warnings for gcc. Still some outstanding issues for gcc on Win32.

[SVN r11386]
This commit is contained in:
William E. Kempf
2001-10-15 18:32:21 +00:00
parent c2e7091632
commit 7b07cb0759
6 changed files with 11 additions and 10 deletions

View File

@@ -240,7 +240,7 @@ bool condition::do_timed_wait(const xtime& xt)
unsigned milliseconds;
to_duration(xt, milliseconds);
int res = 0;
unsigned int res = 0;
res = WaitForSingleObject(reinterpret_cast<HANDLE>(m_queue), milliseconds);
assert(res != WAIT_FAILED && res != WAIT_ABANDONED);