diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-06-16 20:47:57 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-06-16 20:47:57 +0400 |
commit | f2a0062042edfafab2c0d9472f2669521ff70930 (patch) | |
tree | 661259338dadb701f6567d627061e81be41b35e5 /source/blender/python/intern/bpy_app_oiio.c | |
parent | a6e290166b7565d5e70309d8e41fbc267321b551 (diff) |
Use ARRAY_SIZE to replace (sizeof(a) / sizeof(*a))
Diffstat (limited to 'source/blender/python/intern/bpy_app_oiio.c')
-rw-r--r-- | source/blender/python/intern/bpy_app_oiio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/intern/bpy_app_oiio.c b/source/blender/python/intern/bpy_app_oiio.c index b5f0f321c6d..60daf3ddd8b 100644 --- a/source/blender/python/intern/bpy_app_oiio.c +++ b/source/blender/python/intern/bpy_app_oiio.c @@ -46,7 +46,7 @@ static PyStructSequence_Desc app_oiio_info_desc = { (char *)"bpy.app.oiio", /* name */ (char *)"This module contains information about OpeImageIO blender is linked against", /* doc */ app_oiio_info_fields, /* fields */ - (sizeof(app_oiio_info_fields) / sizeof(PyStructSequence_Field)) - 1 + ARRAY_SIZE(app_oiio_info_fields) - 1 }; static PyObject *make_oiio_info(void) |