forked from bartvdbraak/blender
* 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:
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;
|
||||
|
Loading…
Reference in New Issue
Block a user