diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2013-10-03 17:25:50 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2013-10-03 17:25:50 -0700 |
commit | f24a4e1a4e583a3c92f7f5ca06f80a5b6b6fbc0b (patch) | |
tree | b69599ebc9f870fbfc21c3919d39b6987ff5d9a8 /src/python/pyabc.i | |
parent | 6d6118e2aa1dd980f2f78f24b46e247a6a7be7b9 (diff) | |
download | abc-f24a4e1a4e583a3c92f7f5ca06f80a5b6b6fbc0b.tar.gz abc-f24a4e1a4e583a3c92f7f5ca06f80a5b6b6fbc0b.tar.bz2 abc-f24a4e1a4e583a3c92f7f5ca06f80a5b6b6fbc0b.zip |
Compiler errors in the Python interface code...
Diffstat (limited to 'src/python/pyabc.i')
-rw-r--r-- | src/python/pyabc.i | 4 |
1 files changed, 2 insertions, 2 deletions
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; |