[SSSD] [PATCH] AD: Cast SASL callbacks to propper type

Ondrej Kos okos at redhat.com
Wed Aug 7 13:40:31 UTC 2013


Hi,

While working on another issue, I noticed a warning in recently added 
code (commit fb945a2c). On F18 the build works fine, but not on F19. 
This is caused by the change of cyrus-sasl API, they changed the 
*sasl_callback_t* callback member from
int (*proc)();
to
int (*proc)(void);

Attached patch adds typedef for propper cast and fixes the issue.

Ondra
-- 
Ondrej Kos
Associate Software Engineer
Identity Management - SSSD
Red Hat Czech
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-AD-Cast-SASL-callbacks-to-propper-type.patch
Type: text/x-patch
Size: 1154 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20130807/11dde666/attachment.bin>


More information about the sssd-devel mailing list