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:
parent
8ad16af9a3
commit
5102a5c8d6
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue