diff options
Diffstat (limited to 'source/blender/imbuf')
-rw-r--r-- | source/blender/imbuf/intern/scaling.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/scaling.c b/source/blender/imbuf/intern/scaling.c index 59a5c310601..80731213140 100644 --- a/source/blender/imbuf/intern/scaling.c +++ b/source/blender/imbuf/intern/scaling.c @@ -923,7 +923,7 @@ static int q_scale_linear_interpolation( if (ibuf->rect) { unsigned char * newrect = MEM_mallocN(newx * newy * sizeof(int), "q_scale rect"); - q_scale_byte(ibuf->rect, newrect, ibuf->x, ibuf->y, + q_scale_byte((unsigned char *)ibuf->rect, newrect, ibuf->x, ibuf->y, newx, newy); imb_freerectImBuf(ibuf); |