diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-08-04 22:12:49 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-08-04 22:12:49 +0400 |
commit | 78d69a1e1598f9967738c6d2f3195e2540d274d0 (patch) | |
tree | 0e5e84792b1d00293054920683135ad4da07deef /source/blender/bmesh/operators/bmo_wireframe.c | |
parent | 41721e11fbf73812297b6945d0d6683eda400ba0 (diff) |
code cleanup: replace strcpy with BLI_strncpy for fixed size strings, and correct some harmless but incorrect sizeof() use
Diffstat (limited to 'source/blender/bmesh/operators/bmo_wireframe.c')
-rw-r--r-- | source/blender/bmesh/operators/bmo_wireframe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/bmesh/operators/bmo_wireframe.c b/source/blender/bmesh/operators/bmo_wireframe.c index cb2dc4b89f6..c07e2c3bbf2 100644 --- a/source/blender/bmesh/operators/bmo_wireframe.c +++ b/source/blender/bmesh/operators/bmo_wireframe.c @@ -177,7 +177,7 @@ void bmo_wireframe_exec(BMesh *bm, BMOperator *op) /* will over-alloc, but makes for easy lookups by index to keep aligned */ BMVert **verts_boundary = use_boundary ? - MEM_mallocN(sizeof(BMVert **) * totvert_orig, __func__) : NULL; + MEM_mallocN(sizeof(BMVert *) * totvert_orig, __func__) : NULL; float *verts_relfac = use_relative_offset ? MEM_mallocN(sizeof(float) * totvert_orig, __func__) : NULL; |