Skip to content

Commit

Permalink
tls-sessions: Pass correct type for printf %u
Browse files Browse the repository at this point in the history
  • Loading branch information
orgads authored and lws-team committed Oct 6, 2024
1 parent 0336ff0 commit c3a5c09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tls/tls-sessions.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c3a5c09

Please sign in to comment.