diff options
author | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2002-07-15 18:27:39 +0000 |
---|---|---|
committer | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2002-07-15 18:27:39 +0000 |
commit | b6bed5c2751688b4ba3ca671a40af8ddcb7f3dea (patch) | |
tree | 5224cde0efa53f12a9da1e143be2f2afe1e38657 /poll | |
parent | 7c4632aa2e0bc152a05b3ee77bee5f4ade89c7a3 (diff) | |
download | libapr-b6bed5c2751688b4ba3ca671a40af8ddcb7f3dea.tar.gz |
Eliminate the one Unix emit, and one of three Win32 emits.
The other two Win32 emits, setting the des from filedes/socketdes
[HANDLE -> int] shouldn't be cast around, and we will likely move
this code from poll/unix anyways. The other emit, FD_SET errors,
are gone in the latest win32 clib implementations, and again, our
own win32 platform code will evaporate those problems.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63681 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poll')
-rw-r--r-- | poll/unix/poll.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/poll/unix/poll.c b/poll/unix/poll.c index 672946c8f..8188f2313 100644 --- a/poll/unix/poll.c +++ b/poll/unix/poll.c @@ -162,8 +162,8 @@ APR_DECLARE(apr_status_t) apr_poll(apr_pollfd_t *aprset, int num, apr_int32_t *n tvptr = NULL; } else { - tv.tv_sec = apr_time_sec(timeout); - tv.tv_usec = apr_time_usec(timeout); + tv.tv_sec = (long)apr_time_sec(timeout); + tv.tv_usec = (long)apr_time_usec(timeout); tvptr = &tv; } |