Skip to content

Commit e28b6a1

Browse files
author
foobar
committed
MFH
1 parent 55fc773 commit e28b6a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/gd/gd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ PHP_FUNCTION(imagesetthickness)
626626
}
627627

628628
ZEND_FETCH_RESOURCE(im, gdImagePtr, IM, -1, "Image", le_gd);
629-
convert_to_boolean_ex(thick);
629+
convert_to_long_ex(thick);
630630

631631
gdImageSetThickness(im, Z_LVAL_PP(thick));
632632

0 commit comments

Comments
 (0)