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;