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:
parent
8721f4f5f1
commit
e62b83c275
1 changed files with 1 additions and 1 deletions
|
@ -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! */
|
||||
|
|
Loading…
Add table
Reference in a new issue