From: Hallvard Furuseth Date: Fri, 5 Mar 1999 01:04:56 +0000 (+0000) Subject: Cast char* argument to hh_to_c() to Byte* X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~480 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=61174d1960c50bdccee05d302666dab6ab770846;p=openldap Cast char* argument to hh_to_c() to Byte* --- diff --git a/libraries/libldap/charset.c b/libraries/libldap/charset.c index 20a9db5306..a3618923b1 100644 --- a/libraries/libldap/charset.c +++ b/libraries/libldap/charset.c @@ -1676,7 +1676,7 @@ char *s; while ( *s ) { if ( *s == '\\' ) { - if ( (c = hh_to_c( ++s )) != -1 ) { + if ( (c = hh_to_c( (Byte *) ++s )) != -1 ) { *o++ = c; s += 2; } else