diff options
Diffstat (limited to 'source/blender/python/intern/bpy_compat.h')
-rw-r--r-- | source/blender/python/intern/bpy_compat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/intern/bpy_compat.h b/source/blender/python/intern/bpy_compat.h index 0fbb4aede7d..4f64c916ca2 100644 --- a/source/blender/python/intern/bpy_compat.h +++ b/source/blender/python/intern/bpy_compat.h @@ -37,7 +37,7 @@ #undef PyUnicode_Check #define PyUnicode_Check PyString_Check -#define PyLong_FromSize_t PyInt_FromLong +#define PyLong_FromSsize_t PyInt_FromLong #define PyLong_AsSsize_t PyInt_AsLong #undef PyLong_Check |