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

ss: policy: cast uint32 lwsl_err arg to unsigned int

Some toolchains typedef uint32_t to unsigned long
This commit is contained in:
Andy Green 2020-10-29 19:45:28 +00:00
parent 427b925d19
commit 109677df61

View file

@ -869,7 +869,7 @@ lws_ss_policy_parse(struct lws_context *context, const uint8_t *buf, size_t len)
return m;
lwsl_err("%s: parse failed line %u: %d: %s\n", __func__,
args->jctx.line, m, lejp_error_to_string(m));
(unsigned int)args->jctx.line, m, lejp_error_to_string(m));
lws_ss_policy_parse_abandon(context);
assert(0);