krb5: add typecast to please Coverity

This commit is contained in:
Daniel Stenberg 2023-07-17 20:10:38 +02:00
parent ebd83bfbae
commit 4aa64e67e2
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -261,7 +261,7 @@ krb5_auth(void *app_data, struct Curl_easy *data, struct connectdata *conn)
}
/* We pass NULL as |output_name_type| to avoid a leak. */
gss_display_name(&min, gssname, &output_buffer, NULL);
infof(data, "Trying against %s", output_buffer.value);
infof(data, "Trying against %s", (char *)output_buffer.value);
gssresp = GSS_C_NO_BUFFER;
*context = GSS_C_NO_CONTEXT;