Skip to content

Commit 8c21ce5

Browse files
committed
Fix misleading variable type
We port libgd/libgd@0414bb2.
1 parent 4eeacba commit 8c21ce5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/gd/libgd/gd_interpolation.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1321,8 +1321,8 @@ static gdImagePtr gdImageScaleBilinearTC(gdImagePtr im, const unsigned int new_w
13211321
gdFixed f_j = gd_itofx(j);
13221322
gdFixed f_a = gd_mulfx(f_i, f_dy);
13231323
gdFixed f_b = gd_mulfx(f_j, f_dx);
1324-
const gdFixed m = gd_fxtoi(f_a);
1325-
const gdFixed n = gd_fxtoi(f_b);
1324+
const long m = gd_fxtoi(f_a);
1325+
const long n = gd_fxtoi(f_b);
13261326
gdFixed f_f = f_a - gd_itofx(m);
13271327
gdFixed f_g = f_b - gd_itofx(n);
13281328

0 commit comments

Comments
 (0)