From f24a4e1a4e583a3c92f7f5ca06f80a5b6b6fbc0b Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Thu, 3 Oct 2013 17:25:50 -0700 Subject: Compiler errors in the Python interface code... --- src/python/pyabc.i | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/python/pyabc.i') diff --git a/src/python/pyabc.i b/src/python/pyabc.i index 0d05d6c1..216e2166 100644 --- a/src/python/pyabc.i +++ b/src/python/pyabc.i @@ -237,7 +237,7 @@ Abc_Cex_t* _cex_get_vec(int i) return NULL; } - Abc_Cex_t* pCex = Vec_PtrEntry( vCexVec, i ); + Abc_Cex_t* pCex = (Abc_Cex_t*)Vec_PtrEntry( vCexVec, i ); if ( ! pCex ) { @@ -430,7 +430,7 @@ void pyabc_internal_register_command( char * sGroup, char * sName, int fChanges { Abc_Frame_t* pAbc = Abc_FrameGetGlobalFrame(); - Cmd_CommandAdd( pAbc, sGroup, sName, (void*)pyabc_internal_abc_command_callback, fChanges); + Cmd_CommandAdd( pAbc, sGroup, sName, ((*)(Abc_Frame_t*, int, char**))pyabc_internal_abc_command_callback, fChanges); } static int sigchld_pipe_fd = -1; -- cgit v1.2.3