- warning fixes

* various warnings the python api is putting out
This commit is contained in:
2005-11-07 19:34:44 +00:00
parent f7c955b18e
commit cce655b5e7
5 changed files with 9 additions and 10 deletions

View File

@@ -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 );