2.5: warning fixes

Directories intern/ and source/blender/ now compile warning
free again here with scons/gcc.
This commit is contained in:
2009-08-15 16:36:25 +00:00
parent de330b0d5c
commit 314b14301f
37 changed files with 451 additions and 412 deletions

View File

@@ -2612,7 +2612,7 @@ PyObject *BPY_rna_props( void )
static StructRNA *pyrna_struct_as_srna(PyObject *self)
{
PyObject *py_srna= (BPy_StructRNA *)PyObject_GetAttrString(self, "__rna__");
PyObject *py_srna= (PyObject*)PyObject_GetAttrString(self, "__rna__");
if(py_srna==NULL) {
PyErr_SetString(PyExc_SystemError, "internal error, self had no __rna__ attribute, should never happen.");