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
This commit is contained in:
2008-04-17 21:14:55 +00:00
parent 45dee507aa
commit be0b8ccfaa
20 changed files with 95 additions and 89 deletions

View File

@@ -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;