提交 d24f057e authored 作者: Michael Jerris's avatar Michael Jerris

build fix

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@364 a93c3328-9c30-0410-af19-c9cd2b2d52af
上级 b54c19e1
...@@ -237,7 +237,8 @@ void dsp_fsk_destroy(dsp_fsk_handle_t **handle) ...@@ -237,7 +237,8 @@ void dsp_fsk_destroy(dsp_fsk_handle_t **handle)
} }
if ((*handle)->attr.bytehandler) { 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); free(*handle);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论