diff options
Diffstat (limited to 'source/blender/nodes/intern/SHD_nodes/SHD_dynamic.c')
-rw-r--r-- | source/blender/nodes/intern/SHD_nodes/SHD_dynamic.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/nodes/intern/SHD_nodes/SHD_dynamic.c b/source/blender/nodes/intern/SHD_nodes/SHD_dynamic.c index 4c4044f6bce..1d1cf3d7e23 100644 --- a/source/blender/nodes/intern/SHD_nodes/SHD_dynamic.c +++ b/source/blender/nodes/intern/SHD_nodes/SHD_dynamic.c @@ -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; |