From 73f5e58682c8cab5021ab82c8e4ebe492f8bd6dc Mon Sep 17 00:00:00 2001 From: Andy Green Date: Mon, 6 Feb 2017 14:35:30 +0800 Subject: [PATCH] gcc-format-strings: LWS_PLAT_OPTEE --- lib/lws-plat-optee.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/lws-plat-optee.c b/lib/lws-plat-optee.c index 9ec25ef3..a4807892 100644 --- a/lib/lws-plat-optee.c +++ b/lib/lws-plat-optee.c @@ -310,8 +310,8 @@ lws_plat_init(struct lws_context *context, return 1; } - lwsl_notice(" mem: platform fd map: %5u bytes\n", - sizeof(struct lws *) * context->max_fds); + lwsl_notice(" mem: platform fd map: %5lu bytes\n", + (long)sizeof(struct lws *) * context->max_fds); context->fops.open = _lws_plat_file_open; context->fops.close = _lws_plat_file_close;