From 7e311ea9bfb8cd6186e6b791b3ee9a4477dc8c3e Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Sun, 2 Jan 2022 21:19:13 -0600 Subject: [PATCH] gss: Fix test_names clang-13 build --- lib/gssapi/test_names.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gssapi/test_names.c b/lib/gssapi/test_names.c index cc4c86028..933635e78 100644 --- a/lib/gssapi/test_names.c +++ b/lib/gssapi/test_names.c @@ -64,7 +64,7 @@ gss_print_errors(OM_uint32 stat, gss_OID mech) if (mech) { junk = gss_oid_to_str(&junk, mech, &buf); if (junk == GSS_S_COMPLETE) - fprintf(stderr, "mech = %.*s\n", (int)buf.length, buf.value); + fprintf(stderr, "mech = %.*s\n", (int)buf.length, (char *)buf.value); gss_release_buffer(&junk, &buf); } do {