From cvs-return-941-apmail-apr-cvs-archive=apr.apache.org@apr.apache.org Sat Mar 31 12:42:47 2001 Return-Path: Delivered-To: apmail-apr-cvs-archive@apr.apache.org Received: (qmail 7976 invoked by uid 500); 31 Mar 2001 12:42:47 -0000 Mailing-List: contact cvs-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: dev@apr.apache.org Delivered-To: mailing list cvs@apr.apache.org Received: (qmail 7965 invoked by uid 1121); 31 Mar 2001 12:42:46 -0000 Date: 31 Mar 2001 12:42:46 -0000 Message-ID: <20010331124246.7964.qmail@apache.org> From: trawick@apache.org To: apr-cvs@apache.org Subject: cvs commit: apr/network_io/win32 poll.c trawick 01/03/31 04:42:46 Modified: network_io/win32 poll.c Log: Fix a compile warning and maybe a run-time error (see OtherBill's comment in time/win32/time.c on another call to Sleep) Revision Changes Path 1.26 +1 -1 apr/network_io/win32/poll.c Index: poll.c =================================================================== RCS file: /home/cvs/apr/network_io/win32/poll.c,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- poll.c 2001/02/16 04:16:04 1.25 +++ poll.c 2001/03/31 12:42:46 1.26 @@ -119,7 +119,7 @@ } if (newread == NULL && newwrite == NULL && newexcept == NULL) { - Sleep(timeout / 1000); /* convert microseconds into milliseconds */ + Sleep((DWORD)(timeout / 1000)); /* convert microseconds into milliseconds */ return APR_TIMEUP; /* TODO - get everybody in synch with Win32 apr_status_t */ } else {