Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-06-16 20:47:57 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-06-16 20:47:57 +0400
commitf2a0062042edfafab2c0d9472f2669521ff70930 (patch)
tree661259338dadb701f6567d627061e81be41b35e5 /source/blender/bmesh/operators/bmo_subdivide.c
parenta6e290166b7565d5e70309d8e41fbc267321b551 (diff)
Use ARRAY_SIZE to replace (sizeof(a) / sizeof(*a))
Diffstat (limited to 'source/blender/bmesh/operators/bmo_subdivide.c')
-rw-r--r--source/blender/bmesh/operators/bmo_subdivide.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/bmesh/operators/bmo_subdivide.c b/source/blender/bmesh/operators/bmo_subdivide.c
index 4bc07c82c5c..fc507cdbd21 100644
--- a/source/blender/bmesh/operators/bmo_subdivide.c
+++ b/source/blender/bmesh/operators/bmo_subdivide.c
@@ -752,7 +752,7 @@ static const SubDPattern *patterns[] = {
NULL,
};
-#define PATTERNS_TOT (sizeof(patterns) / sizeof(void *))
+#define PATTERNS_TOT ARRAY_SIZE(patterns)
typedef struct SubDFaceData {
BMVert *start;