Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 895770 Details for
Bug 933875
net-nds/openldap: 2.6.6-r2 fails to compile against gnutls: tls_g.c:971:57: error: passing argument 4 of 'gnutls_fingerprint' from incompatible pointer type [-Wincompatible-pointer-types]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix Incompatible pointer type assignments
openldap_2_6_6_explicitly_cast_private_values.patch (text/plain), 2.56 KB, created by
Joachim IONOFF
on 2024-06-13 19:00:56 UTC
(
hide
)
Description:
Fix Incompatible pointer type assignments
Filename:
MIME Type:
Creator:
Joachim IONOFF
Created:
2024-06-13 19:00:56 UTC
Size:
2.56 KB
patch
obsolete
>diff '--color=auto' --unified --recursive --text openldap-OPENLDAP_REL_ENG_2_6_6_orig/servers/slapd/config.c openldap-OPENLDAP_REL_ENG_2_6_6/servers/slapd/config.c >--- openldap-OPENLDAP_REL_ENG_2_6_6_orig/servers/slapd/config.c 2023-07-31 20:09:15.000000000 +0200 >+++ openldap-OPENLDAP_REL_ENG_2_6_6/servers/slapd/config.c 2024-06-13 20:47:17.507537335 +0200 >@@ -151,7 +151,7 @@ > int rc, arg_user, arg_type, arg_syn, iarg; > unsigned uiarg; > long larg; >- size_t ularg; >+ unsigned long ularg; > ber_len_t barg; > > if(Conf->arg_type == ARG_IGNORED) { >diff '--color=auto' --unified --recursive --text openldap-OPENLDAP_REL_ENG_2_6_6_orig/servers/slapd/overlays/constraint.c openldap-OPENLDAP_REL_ENG_2_6_6/servers/slapd/overlays/constraint.c >--- openldap-OPENLDAP_REL_ENG_2_6_6_orig/servers/slapd/overlays/constraint.c 2023-07-31 20:09:15.000000000 +0200 >+++ openldap-OPENLDAP_REL_ENG_2_6_6/servers/slapd/overlays/constraint.c 2024-06-13 20:48:18.569112851 +0200 >@@ -557,7 +557,7 @@ > a2->restrict_filter = ap.restrict_filter; > a2->restrict_val = ap.restrict_val; > >- for ( app = &on->on_bi.bi_private; *app; app = &(*app)->ap_next ) >+ for ( app = (constraint **)&on->on_bi.bi_private; *app; app = &(*app)->ap_next ) > /* Get to the end */ ; > > a2->ap_next = *app; >diff '--color=auto' --unified --recursive --text openldap-OPENLDAP_REL_ENG_2_6_6_orig/servers/slapd/overlays/dyngroup.c openldap-OPENLDAP_REL_ENG_2_6_6/servers/slapd/overlays/dyngroup.c >--- openldap-OPENLDAP_REL_ENG_2_6_6_orig/servers/slapd/overlays/dyngroup.c 2023-07-31 20:09:15.000000000 +0200 >+++ openldap-OPENLDAP_REL_ENG_2_6_6/servers/slapd/overlays/dyngroup.c 2024-06-13 20:48:42.177335377 +0200 >@@ -111,7 +111,7 @@ > */ > a2 = ch_malloc( sizeof(adpair) ); > >- for ( app = &on->on_bi.bi_private; *app; app = &(*app)->ap_next ) >+ for ( app = (adpair **)&on->on_bi.bi_private; *app; app = &(*app)->ap_next ) > /* Get to the end */ ; > > a2->ap_mem = ap.ap_mem; >diff '--color=auto' --unified --recursive --text openldap-OPENLDAP_REL_ENG_2_6_6_orig/servers/slapd/overlays/valsort.c openldap-OPENLDAP_REL_ENG_2_6_6/servers/slapd/overlays/valsort.c >--- openldap-OPENLDAP_REL_ENG_2_6_6_orig/servers/slapd/overlays/valsort.c 2023-07-31 20:09:15.000000000 +0200 >+++ openldap-OPENLDAP_REL_ENG_2_6_6/servers/slapd/overlays/valsort.c 2024-06-13 20:49:05.689557005 +0200 >@@ -201,7 +201,7 @@ > return(1); > } > >- for ( vip = &on->on_bi.bi_private; *vip; vip = &(*vip)->vi_next ) >+ for ( vip = (valsort_info **)&on->on_bi.bi_private; *vip; vip = &(*vip)->vi_next ) > /* Get to the end */ ; > > vi = ch_malloc( sizeof(valsort_info) );
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 933875
:
895474
|
895475
|
895476
|
895477
| 895770 |
895772