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 {
  
  
  

Reply via email to