From 3978748e35acab1831917ffb2d8ef822899f8094 Mon Sep 17 00:00:00 2001
From: Kurt Zeilenga <kurt@openldap.org>
Date: Thu, 25 Nov 1999 17:52:47 +0000
Subject: [PATCH] Fix prototypes to use ber_int_t consistently.

---
 servers/slapd/proto-slap.h  | 6 +++---
 servers/slapd/tools/mimic.c | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/servers/slapd/proto-slap.h b/servers/slapd/proto-slap.h
index 939e57a2d1..604c1084d0 100644
--- a/servers/slapd/proto-slap.h
+++ b/servers/slapd/proto-slap.h
@@ -328,13 +328,13 @@ struct berval **get_entry_referrals LDAP_P((
 
 void send_ldap_result LDAP_P((
 	Connection *conn, Operation *op,
-	int err, const char *matched, const char *text,
+	ber_int_t err, const char *matched, const char *text,
 	struct berval **refs,
 	LDAPControl **ctrls ));
 
 void send_ldap_disconnect LDAP_P((
 	Connection *conn, Operation *op,
-	int err, const char *text ));
+	ber_int_t err, const char *text ));
 
 void send_ldap_extended LDAP_P((
 	Connection *conn, Operation *op,
@@ -344,7 +344,7 @@ void send_ldap_extended LDAP_P((
 
 void send_search_result LDAP_P((
 	Connection *conn, Operation *op,
-	int err, const char *matched, const char *text,
+	ber_int_t err, const char *matched, const char *text,
 	struct berval **refs,
 	LDAPControl **ctrls,
 	int nentries ));
diff --git a/servers/slapd/tools/mimic.c b/servers/slapd/tools/mimic.c
index 5aafbdbdae..55d35c6090 100644
--- a/servers/slapd/tools/mimic.c
+++ b/servers/slapd/tools/mimic.c
@@ -43,7 +43,7 @@ void
 send_ldap_result(
 	Connection  *conn, 
 	Operation   *op,
-	int     err,
+	ber_int_t     err,
 	const char    *matched,
 	const char    *text,
 	struct berval **refs,
@@ -57,7 +57,7 @@ void
 send_search_result(
 	Connection  *conn, 
 	Operation   *op,
-	int     err,
+	ber_int_t     err,
 	const char    *matched,
 	const char    *text,
 	struct berval **refs,