]> git.sur5r.net Git - openldap/commitdiff
make ldap.ld_lberoptions unsigned, like berelement.ber_options
authorHallvard Furuseth <hallvard@openldap.org>
Sun, 18 Jul 1999 01:20:45 +0000 (01:20 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Sun, 18 Jul 1999 01:20:45 +0000 (01:20 +0000)
libraries/libldap/charset.c
libraries/libldap/ldap-int.h

index be85707a833e97fa3c79699b710817fc8ff66ba1..91cf3e2429f3c5dd5dbf3383fbcf0dee47819b7e 100644 (file)
@@ -40,7 +40,7 @@ ldap_set_string_translators( LDAP *ld, BERTranslateProc encode_proc,
 void
 ldap_enable_translation( LDAP *ld, LDAPMessage *entry, int enable )
 {
-       short   *optionsp;
+       unsigned short  *optionsp;
 
        optionsp = ( entry == NULL ) ? &ld->ld_lberoptions :
            &entry->lm_ber->ber_options;
index 3ab44dacec65622210ffe3668ec63b1474da72f8..6b1ca1a027eca2663cc97c0e3fb4b78251d82019 100644 (file)
@@ -226,7 +226,7 @@ struct ldap {
        char    *ld_host;
        int             ld_port;
 
-       short           ld_lberoptions;
+       unsigned short  ld_lberoptions;
 
        LDAPFiltDesc    *ld_filtd;      /* from getfilter for ufn searches */
        char            *ld_ufnprefix;  /* for incomplete ufn's */