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

tls-sessions: Pass correct type for printf %u

This commit is contained in:
Orgad Shaneh 2024-10-02 10:12:41 +03:00 committed by Andy Green
parent 8ad16af9a3
commit 5102a5c8d6

View file

@ -34,7 +34,7 @@ lws_tls_session_tag_discrete(const char *vhname, const char *host,
* different client certs.
*/
lws_snprintf(buf, len, "%s_%s_%u", vhname, host, port);
lws_snprintf(buf, len, "%s_%s_%u", vhname, host, (unsigned int)port);
}
int