diff options
Diffstat (limited to 'source/blender/python/api2_2x/Ipo.c')
-rw-r--r-- | source/blender/python/api2_2x/Ipo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Ipo.c b/source/blender/python/api2_2x/Ipo.c index 37098400216..8f6e4061976 100644 --- a/source/blender/python/api2_2x/Ipo.c +++ b/source/blender/python/api2_2x/Ipo.c @@ -1255,7 +1255,7 @@ void generate_curveconsts( PyObject* module ) static PyObject *Ipo_getChannel( BPy_Ipo * self ) { if( self->mtex != -1 ) - return Py_BuildValue( "h", self->mtex ); + return PyInt_FromLong( (long)self->mtex ); Py_RETURN_NONE; } |