diff --git a/src/video/SDL_stretch.c b/src/video/SDL_stretch.c index 80517dff7..a2bae0578 100644 --- a/src/video/SDL_stretch.c +++ b/src/video/SDL_stretch.c @@ -151,9 +151,10 @@ static int SDL_UpperSoftStretch(SDL_Surface *src, const SDL_Rect *srcrect, int i; \ Sint64 fp_sum_h; \ int fp_step_h, left_pad_h, right_pad_h; \ - Sint64 fp_sum_w; \ + Sint64 fp_sum_w; \ int fp_step_w, left_pad_w, right_pad_w; \ - int fp_sum_w_init, left_pad_w_init, right_pad_w_init, dst_gap, middle_init; \ + Sint64 fp_sum_w_init; \ + int left_pad_w_init, right_pad_w_init, dst_gap, middle_init; \ get_scaler_datas(src_h, dst_h, &fp_sum_h, &fp_step_h, &left_pad_h, &right_pad_h); \ get_scaler_datas(src_w, dst_w, &fp_sum_w, &fp_step_w, &left_pad_w, &right_pad_w); \ fp_sum_w_init = fp_sum_w + left_pad_w * fp_step_w; \