From f60626ba88829214e290f6b480c622bbf972a7ac Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Fri, 11 Jan 2008 17:23:12 +0000 Subject: [PATCH] build fix git-svn-id: http://svn.openzap.org/svn/openzap/trunk@364 a93c3328-9c30-0410-af19-c9cd2b2d52af --- libs/openzap/src/fsk.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/openzap/src/fsk.c b/libs/openzap/src/fsk.c index df3c834787..bed3e12a64 100644 --- a/libs/openzap/src/fsk.c +++ b/libs/openzap/src/fsk.c @@ -237,7 +237,8 @@ void dsp_fsk_destroy(dsp_fsk_handle_t **handle) } if ((*handle)->attr.bytehandler) { - dsp_uart_destroy((dsp_uart_handle_t**)&(*handle)->attr.bithandler_arg); + dsp_uart_handle_t** dhandle = (void *)(&(*handle)->attr.bithandler_arg); + dsp_uart_destroy(dhandle); } free(*handle);