From ce68d38794a02f087f65c0612144ac628c959bc0 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Wed, 25 Oct 2017 07:16:50 +0800 Subject: [PATCH] LWS_PRE: make int --- lib/libwebsockets.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libwebsockets.h b/lib/libwebsockets.h index ef996c5d..e1d5110a 100644 --- a/lib/libwebsockets.h +++ b/lib/libwebsockets.h @@ -4011,7 +4011,7 @@ lws_set_timeout(struct lws *wsi, enum pending_timeout reason, int secs); */ //@{ #if !defined(LWS_SIZEOFPTR) -#define LWS_SIZEOFPTR (sizeof (void *)) +#define LWS_SIZEOFPTR ((int)sizeof (void *)) #endif #if !defined(u_int64_t) #define u_int64_t unsigned long long