diff modules/ldap/eldap.c @ 4824:c12b646d84ee

changes to get things to compile under latest cygwin
author Ben Wing <ben@xemacs.org>
date Thu, 24 Dec 2009 19:45:23 -0600
parents 3a87551bfeb5
children 19a72041c5ed d877c14318b3
line wrap: on
line diff
--- a/modules/ldap/eldap.c	Mon Dec 21 13:51:39 2009 -0700
+++ b/modules/ldap/eldap.c	Thu Dec 24 19:45:23 2009 -0600
@@ -497,8 +497,10 @@
   CHECK_SYMBOL (attrsonly);
 
   /* Perform the search */
-  bs = NILP (base) ? "" : NEW_LISP_STRING_TO_EXTERNAL (base, Qnative);
-  filt = NILP (filter) ? "" : NEW_LISP_STRING_TO_EXTERNAL (filter, Qnative);
+  bs = NILP (base) ? (Extbyte *) "" :
+    NEW_LISP_STRING_TO_EXTERNAL (base, Qnative);
+  filt = NILP (filter) ? (Extbyte *) "" :
+    NEW_LISP_STRING_TO_EXTERNAL (filter, Qnative);
   if (ldap_search (ld, bs, ldap_scope, filt, ldap_attributes,
 		   NILP (attrsonly) ? 0 : 1)
       == -1)