Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Gilbert <ascotan@gmail.com>2005-11-07 22:34:44 +0300
committerJoseph Gilbert <ascotan@gmail.com>2005-11-07 22:34:44 +0300
commitcce655b5e7178a86391aff03d15dca0d328b75de (patch)
treef58602c8591930af8b989ad2862f38102b7d54d0 /source/blender/python/api2_2x/Ipo.c
parentf7c955b18e0078d2357978ba45930ec400564f19 (diff)
- warning fixes
* various warnings the python api is putting out
Diffstat (limited to 'source/blender/python/api2_2x/Ipo.c')
-rw-r--r--source/blender/python/api2_2x/Ipo.c2
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 f0dffe3f0e5..c81c6a2fef7 100644
--- a/source/blender/python/api2_2x/Ipo.c
+++ b/source/blender/python/api2_2x/Ipo.c
@@ -917,7 +917,7 @@ static PyObject *Ipo_addCurve( BPy_Ipo * self, PyObject * args )
icu->blocktype= ipo->blocktype;
icu->flag |= IPO_VISIBLE|IPO_AUTO_HORIZ;
icu->blocktype= ipo->blocktype;
- icu->adrcode= param;
+ icu->adrcode= (short)param;
BLI_addtail( &(ipo->curve), icu);
allspace( REMAKEIPO, 0 );