summaryrefslogtreecommitdiff
path: root/ext/threads
diff options
context:
space:
mode:
authorMarcus Holland-Moritz <mhx-perl@gmx.net>2003-12-27 18:39:20 +0100
committerNicholas Clark <nick@ccl4.org>2003-12-27 16:55:54 +0000
commit028f8eaac9a8e1c5eecaca563e816ed1d443dc17 (patch)
tree2eb652ed1778bc23aeb76273fb938cb22ae8558f /ext/threads
parent24b2a273a08bacf9bdb36f18e9091329f41183d6 (diff)
downloadperl-028f8eaac9a8e1c5eecaca563e816ed1d443dc17.tar.gz
Remove Win32 compiler warnings
From: "Marcus Holland-Moritz" <mhx-perl@gmx.net> Message-ID: <018901c3cc97$fa976660$d500a8c0@R2D2> p4raw-id: //depot/perl@21971
Diffstat (limited to 'ext/threads')
-rw-r--r--ext/threads/shared/shared.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/threads/shared/shared.xs b/ext/threads/shared/shared.xs
index 4e564c5296..72b7285a72 100644
--- a/ext/threads/shared/shared.xs
+++ b/ext/threads/shared/shared.xs
@@ -441,7 +441,7 @@ Perl_sharedsv_cond_timedwait(perl_cond *cond, perl_mutex *mut, double abs)
cond->waiters++;
MUTEX_UNLOCK(mut);
/* See comments in win32/win32thread.h COND_WAIT vis-a-vis race */
- switch (WaitForSingleObject(cond->sem, abs)) {
+ switch (WaitForSingleObject(cond->sem, (DWORD)abs)) {
case WAIT_OBJECT_0: got_it = 1; break;
case WAIT_TIMEOUT: break;
default: