From cce655b5e7178a86391aff03d15dca0d328b75de Mon Sep 17 00:00:00 2001 From: Joseph Gilbert Date: Mon, 7 Nov 2005 19:34:44 +0000 Subject: - warning fixes * various warnings the python api is putting out --- source/blender/python/api2_2x/Ipo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/python/api2_2x/Ipo.c') 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 ); -- cgit v1.2.3