]> arthur.barton.de Git - netatalk.git/blobdiff - include/atalk/ldapconfig.h
Fixes
[netatalk.git] / include / atalk / ldapconfig.h
index 76f5561b4df5a7952a7a4f6f23cbbf14af185b83..49f2ef0af7a049737c4077ce2c9556a7083824e1 100644 (file)
@@ -21,7 +21,7 @@ extern char *ldap_group_attr;
 extern char *ldap_uid_attr;
 
 struct ldap_pref {
-    void *pref;
+    const void *pref;
     char *name;
     int strorint;     /* string to just store in char * or convert to int ? */
     int intfromarray; /* convert to int, but use string to int mapping array pref_array[] */
@@ -29,7 +29,7 @@ struct ldap_pref {
 };
 
 struct pref_array {
-    char *pref;         /* name of pref from ldap_prefs[] to which this value corresponds */
+    const char *pref;         /* name of pref from ldap_prefs[] to which this value corresponds */
     char *valuestring;  /* config string */
     int  value;         /* corresponding value */
 };