From 109677df6153dd76821d052f055b027a1c569787 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Thu, 29 Oct 2020 19:45:28 +0000 Subject: [PATCH] ss: policy: cast uint32 lwsl_err arg to unsigned int Some toolchains typedef uint32_t to unsigned long --- lib/secure-streams/policy-json.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/secure-streams/policy-json.c b/lib/secure-streams/policy-json.c index 718e6c4d9..92631e109 100644 --- a/lib/secure-streams/policy-json.c +++ b/lib/secure-streams/policy-json.c @@ -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);