mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
4619451ba9
bump PORTREVISION
12 lines
502 B
C++
12 lines
502 B
C++
--- Eris/PollDefault.cpp.orig 2014-03-10 19:29:37.000000000 +0100
|
|
+++ Eris/PollDefault.cpp 2014-03-10 19:29:49.000000000 +0100
|
|
@@ -77,7 +77,7 @@
|
|
|
|
if (!got_data) return;
|
|
|
|
- struct timeval timeout = {msec_timeout / 1000, (msec_timeout % 1000) * 1000};
|
|
+ struct timeval timeout = {(long)msec_timeout / 1000, ((long)msec_timeout % 1000) * 1000};
|
|
int retval = select(maxfd+1, &reading, &writing, &exceptions, &timeout);
|
|
if (retval < 0) {
|
|
warning() << "select() returned error: " << retval;
|