gss: Fix test_names clang-13 build

This commit is contained in:
Nicolas Williams
2022-01-02 21:19:13 -06:00
parent 3f2b1007a3
commit 7e311ea9bf

View File

@@ -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 {