apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apr/network_io/win32 sockets.c
Date Thu, 12 Jul 2001 23:27:51 GMT
wrowe       01/07/12 16:27:51

  Modified:    network_io/win32 sockets.c
  Log:
    we are definately ok with these values, so cast off the converison err.
  
  Revision  Changes    Path
  1.60      +2 -2      apr/network_io/win32/sockets.c
  
  Index: sockets.c
  ===================================================================
  RCS file: /home/cvs/apr/network_io/win32/sockets.c,v
  retrieving revision 1.59
  retrieving revision 1.60
  diff -u -r1.59 -r1.60
  --- sockets.c	2001/07/12 03:41:05	1.59
  +++ sockets.c	2001/07/12 23:27:50	1.60
  @@ -310,8 +310,8 @@
               tvptr = NULL;
           }
           else {
  -            tv.tv_sec = sock->timeout / APR_USEC_PER_SEC;
  -            tv.tv_usec = sock->timeout % APR_USEC_PER_SEC;
  +            tv.tv_sec =  (long)(sock->timeout / APR_USEC_PER_SEC);
  +            tv.tv_usec = (long)(sock->timeout % APR_USEC_PER_SEC);
               tvptr = &tv;
           }
           rc = select(FD_SETSIZE+1, NULL, &wfdset, &efdset, tvptr);
  
  
  

Mime
View raw message