diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-04-18 01:14:55 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-04-18 01:14:55 +0400 |
commit | be0b8ccfaaa98118468c8fec971792ab1123eaca (patch) | |
tree | c5a0f24fe547de8b411298bbe8df9cdc12b4a530 /source/blender/python/api2_2x/IDProp.c | |
parent | 45dee507aaaa159e5b0bda1f6fc81a928f78e17b (diff) |
Used GET_INT_FROM_POINTER to get rid of many warnings that only occurred with 64bit os's
Also use Py_ssize_t which we might need to define for older python's
Diffstat (limited to 'source/blender/python/api2_2x/IDProp.c')
-rw-r--r-- | source/blender/python/api2_2x/IDProp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/IDProp.c b/source/blender/python/api2_2x/IDProp.c index 2bd93326e89..f60ebf8dee1 100644 --- a/source/blender/python/api2_2x/IDProp.c +++ b/source/blender/python/api2_2x/IDProp.c @@ -516,7 +516,7 @@ PyObject *BPy_IDGroup_HasKey(BPy_IDProperty *self, PyObject *value) PyObject *BPy_IDGroup_Update(BPy_IDProperty *self, PyObject *vars) { PyObject *pyob, *pkey, *pval; - int i=0; + Py_ssize_t i=0; if (PySequence_Size(vars) != 1) return EXPP_ReturnPyObjError( PyExc_TypeError, |