Blame SOURCES/0037-Ticket-48118-fix-compiler-warning-for-incorrect-retu.patch

058656
From fd06b282ffd06a5b3807c0396bff442f0c7568b1 Mon Sep 17 00:00:00 2001
058656
From: Ludwig Krispenz <lkrispen@redhat.com>
058656
Date: Wed, 15 Nov 2017 13:17:00 +0100
058656
Subject: [PATCH] Ticket 48118 - fix compiler warning for incorrect return type
058656
058656
---
058656
 ldap/servers/plugins/replication/cl5_api.c | 8 ++++----
058656
 1 file changed, 4 insertions(+), 4 deletions(-)
058656
058656
diff --git a/ldap/servers/plugins/replication/cl5_api.c b/ldap/servers/plugins/replication/cl5_api.c
058656
index 55032dfb0..721013abf 100644
058656
--- a/ldap/servers/plugins/replication/cl5_api.c
058656
+++ b/ldap/servers/plugins/replication/cl5_api.c
058656
@@ -250,8 +250,8 @@ static void _cl5ReadBerval(struct berval *bv, char **buff);
058656
 static void _cl5WriteBerval(struct berval *bv, char **buff);
058656
 static int _cl5ReadBervals(struct berval ***bv, char **buff, unsigned int size);
058656
 static int _cl5WriteBervals(struct berval **bv, char **buff, u_int32_t *size);
058656
-static int64_t _cl5CheckMaxRUV(CL5DBFile *file, RUV *maxruv);
058656
-static int64_t _cl5CheckCSNinCL(const ruv_enum_data *element, void *arg);
058656
+static int32_t _cl5CheckMaxRUV(CL5DBFile *file, RUV *maxruv);
058656
+static int32_t _cl5CheckCSNinCL(const ruv_enum_data *element, void *arg);
058656
 
058656
 /* replay iteration */
058656
 #ifdef FOR_DEBUGGING
058656
@@ -2718,7 +2718,7 @@ _cl5WriteBervals(struct berval **bv, char **buff, u_int32_t *size)
058656
     return CL5_SUCCESS;
058656
 }
058656
 
058656
-static int64_t
058656
+static int32_t
058656
 _cl5CheckCSNinCL(const ruv_enum_data *element, void *arg)
058656
 {
058656
     CL5DBFile *file = (CL5DBFile *)arg;
058656
@@ -2739,7 +2739,7 @@ _cl5CheckCSNinCL(const ruv_enum_data *element, void *arg)
058656
     return rc;
058656
 }
058656
 
058656
-static int64_t
058656
+static int32_t
058656
 _cl5CheckMaxRUV(CL5DBFile *file, RUV *maxruv)
058656
 {
058656
     int rc = 0;
058656
-- 
058656
2.13.6
058656