summaryrefslogtreecommitdiffstats
path: root/src/python
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2013-10-05 23:18:20 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2013-10-05 23:18:20 -0700
commit812a877ab694956be34b979fbd219a244580cced (patch)
tree577414d19388822d53d37c7c70f82b1e67be092d /src/python
parentd32af2df38887a89883a46f00941549a66e8e530 (diff)
downloadabc-812a877ab694956be34b979fbd219a244580cced.tar.gz
abc-812a877ab694956be34b979fbd219a244580cced.tar.bz2
abc-812a877ab694956be34b979fbd219a244580cced.zip
Compiler warning.
Diffstat (limited to 'src/python')
-rw-r--r--src/python/pyabc.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/pyabc.i b/src/python/pyabc.i
index 216e2166..1d301c89 100644
--- a/src/python/pyabc.i
+++ b/src/python/pyabc.i
@@ -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, ((*)(Abc_Frame_t*, int, char**))pyabc_internal_abc_command_callback, fChanges);
+ Cmd_CommandAdd( pAbc, sGroup, sName, (int(*)(Abc_Frame_t*, int, char**))pyabc_internal_abc_command_callback, fChanges);
}
static int sigchld_pipe_fd = -1;