Bugfix in imlib_psbbox: angle is a double.
Bugfix in imlib_psbbox: angle is a double.
diff --git a/php_imlib.c b/php_imlib.c
index 84f6a9a..f007ee8 100644
--- a/php_imlib.c
+++ b/php_imlib.c
@@ -2799,7 +2799,7 @@ PHP_FUNCTION(imlib_psbbox)
double angle = 0, sin_a = 0, cos_a = 0;
BBox char_bbox, str_bbox = {0, 0, 0, 0};
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "srl|lll", &str, &str_len, &fnt, &sz, &space, &add_width, &angle) == FAILURE) return;
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "srl|lld", &str, &str_len, &fnt, &sz, &space, &add_width, &angle) == FAILURE) return;
angle = angle * M_PI / 180;
sin_a = sin(angle);
cos_a = cos(angle);