SHA256
1
0
forked from pool/krb5
krb5/gssapi_improve_errormessages.dif

14 lines
595 B
Plaintext

Index: krb5-1.6.3/src/lib/gssapi/generic/disp_com_err_status.c
===================================================================
--- krb5-1.6.3.orig/src/lib/gssapi/generic/disp_com_err_status.c
+++ krb5-1.6.3/src/lib/gssapi/generic/disp_com_err_status.c
@@ -56,7 +56,7 @@ g_display_com_err_status(minor_status, s
(void) gssint_initialize_library();
if (! g_make_string_buffer(((status_value == 0)?no_error:
- error_message(status_value)),
+ error_message((int)status_value)),
status_string)) {
*minor_status = ENOMEM;
return(GSS_S_FAILURE);