This is an automated email from the git hooks/post-receive script.
tbordaz pushed a commit to branch master
in repository 389-ds-base.
The following commit(s) were added to refs/heads/master by this push:
new 08cad9e Ticket 51037 - compiler warning
08cad9e is described below
commit 08cad9e7522272577e3fc2f1a605b83e088c6a26
Author: Thierry Bordaz <tbordaz(a)redhat.com>
AuthorDate: Tue May 19 10:14:13 2020 +0200
Ticket 51037 - compiler warning
---
src/rewriters/adfilter.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/rewriters/adfilter.c b/src/rewriters/adfilter.c
index f3cec16..af94b6a 100644
--- a/src/rewriters/adfilter.c
+++ b/src/rewriters/adfilter.c
@@ -189,7 +189,6 @@ substitute_string_objectsid(Slapi_Filter *f, void *arg)
{
char *filter_type;
struct berval *bval;
- char *newval;
char logbuf[1024] = {0};
int32_t rc;
char *objectsid_string_header="S-";
@@ -278,7 +277,7 @@ substitute_string_objectsid(Slapi_Filter *f, void *arg)
* setting it into the bval it will be later freed
* when the filter will be freed
*/
- bval->bv_val = bin_sid.sid;
+ bval->bv_val = (char *) bin_sid.sid;
bval->bv_len = bin_sid.length;
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
Show replies by thread