Commit 568b736d authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

http_auth: fix debug message on 64-bits architectures

The * modifier expects an int. A pointer difference is ptrdiff_t.
parent 029c7a0a
......@@ -294,7 +294,7 @@ void http_auth_ParseWwwAuthenticateHeader(
const char *psz_end = strchr( psz_header, ' ' );
if ( psz_end )
msg_Warn( p_this, "Unknown authentication scheme: '%*s'",
psz_end - psz_header, psz_header );
(int)(psz_end - psz_header), psz_header );
else
msg_Warn( p_this, "Unknown authentication scheme: '%s'",
psz_header );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment