]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-ldbm/attr.c
Add a default case with assert() just in case.
[openldap] / servers / slapd / back-ldbm / attr.c
index b9cbd7e2e581cf02cc279e9ccc919e63f964a595..7b570c819770e1c6750267e90839abf5ff8f63f1 100644 (file)
@@ -1,7 +1,7 @@
 /* attr.c - backend routines for dealing with attributes */
 /* $OpenLDAP$ */
 /*
- * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
+ * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
  */
 
@@ -183,10 +183,10 @@ attr_index_config(
 
 #ifdef NEW_LOGGING
                LDAP_LOG(( "backend", LDAP_LEVEL_DETAIL1,
-                          "attr_index_config: index %s 0x%04x\n",
+                          "attr_index_config: index %s 0x%04lx\n",
                           ad->ad_cname.bv_val, mask ));
 #else
-               Debug( LDAP_DEBUG_CONFIG, "index %s 0x%04x\n",
+               Debug( LDAP_DEBUG_CONFIG, "index %s 0x%04lx\n",
                        ad->ad_cname.bv_val, mask, 0 ); 
 #endif