diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-05-08 16:54:47 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-05-08 16:54:47 +0400 |
commit | 8238cd6992413d8d85e48b9b5dceabbbc49d1d1f (patch) | |
tree | dee20dc71e997db1740005ffe6bab4ecc6ed7951 /source/blender/editors/mask | |
parent | 5c4f96af2c9fc5afc676cf132e8171a66a973d1b (diff) |
use unsigned int, for mask rasterizer.
Diffstat (limited to 'source/blender/editors/mask')
-rw-r--r-- | source/blender/editors/mask/mask_draw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/mask/mask_draw.c b/source/blender/editors/mask/mask_draw.c index 98fac035c16..924e25e4ef4 100644 --- a/source/blender/editors/mask/mask_draw.c +++ b/source/blender/editors/mask/mask_draw.c @@ -417,10 +417,10 @@ static void draw_spline_curve(const bContext *C, MaskLayer *masklay, MaskSpline const short is_smooth = (draw_flag & MASK_DRAWFLAG_SMOOTH); const short is_fill = (spline->flag & MASK_SPLINE_NOFILL) == 0; - int tot_diff_point; + unsigned int tot_diff_point; float (*diff_points)[2]; - int tot_feather_point; + unsigned int tot_feather_point; float (*feather_points)[2]; diff_points = BKE_mask_spline_differentiate_with_resolution_ex(spline, &tot_diff_point, resol); |