diff options
author | Campbell Barton <campbell@blender.org> | 2022-04-04 05:20:56 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-04-04 05:35:33 +0300 |
commit | f6a20fca5ed841c5276b35da87d02b3be9db6f85 (patch) | |
tree | c0be59bcaa28044ac3b2ea0a6d8cf1943cf13eb7 /source/blender/editors/curve/editcurve.c | |
parent | 637fe6f5ff9c8f09bdbd8e37f6d67b29e79b4a39 (diff) |
Cleanup: compiler warnings
Diffstat (limited to 'source/blender/editors/curve/editcurve.c')
-rw-r--r-- | source/blender/editors/curve/editcurve.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/curve/editcurve.c b/source/blender/editors/curve/editcurve.c index c7c2468a6e4..58ee5ccae64 100644 --- a/source/blender/editors/curve/editcurve.c +++ b/source/blender/editors/curve/editcurve.c @@ -6512,8 +6512,8 @@ void ed_dissolve_bez_segment(BezTriple *bezt_prev, BezTriple *bezt_next, const Nurb *nu, const Curve *cu, - const int span_len, - const int span_step[2]) + const uint span_len, + const uint span_step[2]) { int i_span_edge_len = span_len + 1; const int dims = 3; @@ -6593,8 +6593,8 @@ static int curve_dissolve_exec(bContext *C, wmOperator *UNUSED(op)) LISTBASE_FOREACH (Nurb *, nu, editnurb) { if ((nu->type == CU_BEZIER) && (nu->pntsu > 2)) { - int span_step[2] = {nu->pntsu, nu->pntsu}; - int span_len; + uint span_step[2] = {nu->pntsu, nu->pntsu}; + uint span_len; while (BLI_array_iter_span(nu->bezt, nu->pntsu, |