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/Armature.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/Armature.c')
-rw-r--r-- | source/blender/python/api2_2x/Armature.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Armature.c b/source/blender/python/api2_2x/Armature.c index a6cac6d725c..e9dff098773 100644 --- a/source/blender/python/api2_2x/Armature.c +++ b/source/blender/python/api2_2x/Armature.c @@ -178,7 +178,7 @@ static PyObject *BonesDict_repr(BPy_BonesDict *self) { char str[2048]; PyObject *key, *value; - int pos = 0; + Py_ssize_t pos = 0; char *p = str; char *keys, *vals; |