فهرست منبع

Fix for 64-bit bug in dirsync control parsing code

David Boreham 20 سال پیش
والد
کامیت
27672166da
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      ldap/servers/plugins/replication/windows_private.c

+ 2 - 2
ldap/servers/plugins/replication/windows_private.c

@@ -361,8 +361,8 @@ void windows_private_update_dirsync_control(const Repl_Agmt *ra,LDAPControl **co
 	int i;
 	LDAPControl *dirsync;
 	BerElement *ber;
-	int hasMoreData;
-	int maxAttributeCount;
+	long hasMoreData;
+	long maxAttributeCount;
 	BerValue  *serverCookie;
 	int return_value = LDAP_SUCCESS;