wrowe 01/04/02 14:54:43
Modified: file_io/win32 readwrite.c
Log:
A last pesky emit
Revision Changes Path
1.56 +1 -1 apr/file_io/win32/readwrite.c
Index: readwrite.c
===================================================================
RCS file: /home/cvs/apr/file_io/win32/readwrite.c,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -r1.55 -r1.56
--- readwrite.c 2001/02/16 04:15:39 1.55
+++ readwrite.c 2001/04/02 21:54:42 1.56
@@ -112,7 +112,7 @@
if (rv == APR_FROM_OS_ERROR(ERROR_IO_PENDING)) {
/* Wait for the pending i/o */
if (file->timeout > 0) {
- rv = WaitForSingleObject(file->pOverlapped->hEvent,
file->timeout/1000); // timeout in milliseconds...
+ rv = WaitForSingleObject(file->pOverlapped->hEvent,
(DWORD)(file->timeout/1000)); // timeout in milliseconds...
}
else if (file->timeout == -1) {
rv = WaitForSingleObject(file->pOverlapped->hEvent,
INFINITE);