1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00

warning C4244: 'function' : conversion from 'time_t' to 'unsigned int', possible loss of data

This commit is contained in:
Лужецкий 2014-09-02 13:32:42 +04:00
parent 8721f4f5f1
commit e62b83c275

View file

@ -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! */