[asterisk-dev] [asterisk-commits] kpfleming: trunk r77820 - /trunk/channels/chan_sip.c

Luigi Rizzo rizzo at icir.org
Tue Jul 31 18:14:31 CDT 2007


On Tue, Jul 31, 2007 at 02:55:37PM -0000, SVN commits to the Asterisk project wrote:
> Author: kpfleming
> Date: Tue Jul 31 09:55:37 2007
> New Revision: 77820
> 
> URL: http://svn.digium.com/view/asterisk?view=rev&rev=77820
> Log:
> use a different method for overriding the send_digit_begin pointer, as the old one fails to compile on my 64-bit system with gcc-4.1 and --enable-dev-mode turned on

do you know why is that ? maybe function pointers are still 32-bits ?
In that case maybe the cast to void ** should rather be to
(some_function **) (which in C is probably something insane to
write... hence the memset is certainly preferable!)

cheers
	luigi



More information about the asterisk-dev mailing list