aboutsummaryrefslogtreecommitdiff
path: root/devel/eris/files/patch-Eris-PollDefault.cpp
blob: 3036b547cf0b61f610cf54333643ffc2bc44ea83 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- 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;