Monthly cleaning round to make it compile warning free.
Mostly it was const stuff (strings, Context), but also
a couple useful fixes, like wrong use of temp pointers.

Only Mathutils callback struct I left alone... design issue.
This commit is contained in:
Ton Roosendaal
2009-07-09 15:40:04 +00:00
parent 77c61f545f
commit 5e659c0b08
25 changed files with 95 additions and 110 deletions

View File

@@ -1973,7 +1973,7 @@ PyObject *newVectorObject(float *vec, int size, int type, PyTypeObject *base_typ
int i;
VectorObject *self;
if(base_type) self = base_type->tp_alloc(base_type, 0);
if(base_type) self = (VectorObject *)base_type->tp_alloc(base_type, 0);
else self = PyObject_NEW(VectorObject, &vector_Type);
if(size > 4 || size < 2)