From 494d4d36237f37c455f6689fca280ed75498403a Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Thu, 5 Apr 2012 10:26:23 +0200 Subject: Verious warnings generated by SunStudio fixed Signed-off-by: Martin Sustrik --- src/upoll.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/upoll.cpp') diff --git a/src/upoll.cpp b/src/upoll.cpp index 3295bba..9dd13ea 100644 --- a/src/upoll.cpp +++ b/src/upoll.cpp @@ -125,7 +125,7 @@ int xs::upoll (xs_pollitem_t *items_, int nitems_, int timeout_) else if (timeout_ < 0) timeout = -1; else - timeout = end - now; + timeout = (int) (end - now); // Wait for events. while (true) { -- cgit v1.2.3