You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "C. Michael Pilato" <cm...@collab.net> on 2012/11/02 15:26:48 UTC

Re: svn commit: r1404912 - in /subversion/trunk/subversion: libsvn_ra_svn/cyrus_auth.c svnserve/cyrus_auth.c

On 11/02/2012 06:35 AM, stefan2@apache.org wrote:
> Author: stefan2
> Date: Fri Nov  2 10:35:05 2012
> New Revision: 1404912
> 
> URL: http://svn.apache.org/viewvc?rev=1404912&view=rev
> Log:
> Fix "incompatible pointer type" warnings when assigning SASL callbacks.
> The problem is that the function signature is not fixed and the SASL
> structure defines it as having no args at all.
> 
> * subversion/libsvn_ra_svn/cyrus_auth.c
>   (svn_ra_svn__do_cyrus_auth): cast function pointers to void* before
>    assigning them
> * subversion/svnserve/cyrus_auth.c
>   (callbacks): ditto

Thanks!  This was on my TODO list.

-- 
C. Michael Pilato <cm...@collab.net>
CollabNet   <>   www.collab.net   <>   Enterprise Cloud Development