* fix provided by Stefan Birgmeier (qwequ777): int pos may lead to crashes on 64-bit systems. PyDict_Next takes a Py_ssize_t, not an int (tsk tsk).

This commit is contained in:
Nathan Letwory 2008-02-12 18:56:32 +00:00
parent c5f84c6684
commit df0d81f3c7

@ -314,7 +314,8 @@ static int node_dynamic_parse(struct bNode *node)
NodeScriptDict *nsd = NULL;
PyObject *pyresult = NULL;
char *buf = NULL;
int pos = 0, is_valid_script = 0;
Py_ssize_t pos = 0;
int is_valid_script = 0;
if (!node->id || !node->storage)
return 0;