]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
krb5: add typecast to please Coverity
authorDaniel Stenberg <daniel@haxx.se>
Mon, 17 Jul 2023 18:10:38 +0000 (20:10 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 17 Jul 2023 18:10:38 +0000 (20:10 +0200)
lib/krb5.c

index 54844476886b56ffab13ae2205601c625940178c..80e4015cea59647b03601b9b7d48b008d8434bff 100644 (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;