From e62b83c27579c0240826911a3b5f02f9bb6c9c56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9B=D1=83=D0=B6=D0=B5=D1=86=D0=BA=D0=B8=D0=B9?= Date: Tue, 2 Sep 2014 13:32:42 +0400 Subject: [PATCH] warning C4244: 'function' : conversion from 'time_t' to 'unsigned int', possible loss of data --- lib/service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/service.c b/lib/service.c index e1b322caa..8fa9f6b5b 100644 --- a/lib/service.c +++ b/lib/service.c @@ -274,7 +274,7 @@ libwebsocket_service_fd(struct libwebsocket_context *context, if (!wsi) continue; - if (libwebsocket_service_timeout_check(context, wsi, now)) + if (libwebsocket_service_timeout_check(context, wsi, (unsigned int)now)) /* he did time out... */ if (m == our_fd) { /* it was the guy we came to service! */