krb5: Fix warning in krb5_get_error_string()
authorNicolas Williams <nico@twosigma.com>
Sun, 26 Apr 2020 05:59:08 +0000 (00:59 -0500)
committerNicolas Williams <nico@twosigma.com>
Sun, 26 Apr 2020 06:30:37 +0000 (01:30 -0500)
lib/krb5/deprecated.c

index 074903ca4ebe3b37b2fa27fd2f1875385f780dc3..acdc8b476539890877a5fb11776d0cbe6b3050e0 100644 (file)
@@ -618,7 +618,7 @@ krb5_auth_getremoteseqnumber(krb5_context context,
  * @ingroup krb5_error
  */
 
-KRB5_LIB_FUNCTION char * KRB5_LIB_CALL
+KRB5_LIB_FUNCTION const char * KRB5_LIB_CALL
 krb5_get_error_string(krb5_context context)
     KRB5_DEPRECATED_FUNCTION("Use krb5_get_error_message instead")
 {