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

tls: mbedtls: fix cast for dump helper

This commit is contained in:
Andy Green 2021-06-17 14:22:33 +01:00
parent d896d40156
commit 94c50618a4

View file

@ -113,7 +113,7 @@ do_err:
* paths to dump what was received as decrypted data from the tls tunnel
*/
lwsl_notice("%s: len %d\n", __func__, n);
lwsl_hexdump_notice(buf, n);
lwsl_hexdump_notice(buf, (size_t)n);
#endif
#if defined(LWS_WITH_SYS_METRICS)