summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Boreham <dboreham@redhat.com>2005-04-27 23:27:25 +0000
committerDavid Boreham <dboreham@redhat.com>2005-04-27 23:27:25 +0000
commit27672166da04f5e5f4ef081961981acaffed9ca5 (patch)
tree8706a49553b418e9f7923f78509a324080b9985d
parentebc99ee08374f72fe1c83d33013ae64d360723bc (diff)
downloadds-27672166da04f5e5f4ef081961981acaffed9ca5.tar.gz
ds-27672166da04f5e5f4ef081961981acaffed9ca5.tar.xz
ds-27672166da04f5e5f4ef081961981acaffed9ca5.zip
Fix for 64-bit bug in dirsync control parsing code
-rw-r--r--ldap/servers/plugins/replication/windows_private.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldap/servers/plugins/replication/windows_private.c b/ldap/servers/plugins/replication/windows_private.c
index 358f7797..19c7f739 100644
--- a/ldap/servers/plugins/replication/windows_private.c
+++ b/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;