diff options
author | Joseph Gilbert <ascotan@gmail.com> | 2007-03-02 00:30:48 +0300 |
---|---|---|
committer | Joseph Gilbert <ascotan@gmail.com> | 2007-03-02 00:30:48 +0300 |
commit | 585edac6d2ef35f9199940e9d45aaef412860e45 (patch) | |
tree | 7dffb1a303879a5d523d4ba592d310941379780b /source/blender/python/api2_2x/vector.c | |
parent | ccefcc8a79c1f200feecef6e11ba516953b7b5e2 (diff) |
various warnings fixes - mostly casting and initialization issues
Diffstat (limited to 'source/blender/python/api2_2x/vector.c')
-rw-r--r-- | source/blender/python/api2_2x/vector.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/vector.c b/source/blender/python/api2_2x/vector.c index 8b5351ca9c3..537a82c0a86 100644 --- a/source/blender/python/api2_2x/vector.c +++ b/source/blender/python/api2_2x/vector.c @@ -1061,7 +1061,7 @@ static int Vector_setLength( VectorObject * self, PyObject * value ) dot= dot/param; for(i = 0; i < self->size; i++){ - self->vec[i]= self->vec[i] / dot; + self->vec[i]= self->vec[i] / (float)dot; } return 0; |