[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

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

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Fri, 2 Nov 2012 10:26:48 -0400

On 11/02/2012 06:35 AM, stefan2_at_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 <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Enterprise Cloud Development

Received on 2012-11-02 15:27:23 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.