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

clean: warning where uint32_t is long

This commit is contained in:
Andy Green 2019-10-31 11:01:39 +00:00
parent 10bb008dd4
commit f3b2205679

View file

@ -1870,7 +1870,7 @@ lws_handshake_server(struct lws *wsi, unsigned char **buf, size_t len)
while (len) {
if (!lwsi_role_server(wsi) || !lwsi_role_http(wsi)) {
lwsl_err("%s: bad wsi role 0x%x\n", __func__,
lwsi_role(wsi));
(int)lwsi_role(wsi));
goto bail_nuke_ah;
}