diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-10-16 06:44:36 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-10-16 06:44:36 +0300 |
commit | 36b6fb5cd600a7067d24cfe836c0af4d94e083e4 (patch) | |
tree | 1d240114ec59e3e7909d0f388f8245293e8cac6e /source/blender/python/intern/bpy_app_translations.c | |
parent | 01e2786bdda288f2a354cd59a935729ba8087a5a (diff) |
Cleanup: warnings building with Python 3.8
Diffstat (limited to 'source/blender/python/intern/bpy_app_translations.c')
-rw-r--r-- | source/blender/python/intern/bpy_app_translations.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/python/intern/bpy_app_translations.c b/source/blender/python/intern/bpy_app_translations.c index 3c1dbfba72e..fffa43c1dcd 100644 --- a/source/blender/python/intern/bpy_app_translations.c +++ b/source/blender/python/intern/bpy_app_translations.c @@ -780,10 +780,10 @@ static PyTypeObject BlenderAppTranslationsType = { 0, /* tp_itemsize */ /* methods */ /* No destructor, this is a singleton! */ - NULL, /* tp_dealloc */ - NULL, /* printfunc tp_print; */ - NULL, /* getattrfunc tp_getattr; */ - NULL, /* setattrfunc tp_setattr; */ + NULL, /* tp_dealloc */ + (printfunc)NULL, /* printfunc tp_print; */ + NULL, /* getattrfunc tp_getattr; */ + NULL, /* setattrfunc tp_setattr; */ NULL, /* tp_compare */ /* DEPRECATED in python 3.0! */ NULL, /* tp_repr */ |