Re: apr-util v1.7: request for more testing
Eric Covener <[email protected]> Mon, 24 Mar 2025 14:05:14 -0400
| Newsgroups | gmane.comp.apache.apr.devel |
|---|---|
| Message-ID | <CALK=YjO4D_10n0aeA7qQvVwzRnev0Op9RA=hYRfFfLVm_iTiow@mail.gmail.com> |
> case APR_LDAP_OPT_REFERRALS: {
>
> - void *refs = invalue->refs ? LDAP_OPT_ON : LDAP_OPT_OFF;
>
> + void *refs = invalue->refs ? (void *)LDAP_OPT_ON : (void *)LDAP_OPT_OFF;
> Seems the params are either zero or NULL, alternatively not-zero or not-NULL. As a result the cast gives this effect on all toolkits.
No warnings this way.