diff options
| author | Piotr Pawłow <pp@siedziba.pl> | 2016-09-23 04:42:56 +0200 |
|---|---|---|
| committer | Piotr Pawłow <pp@siedziba.pl> | 2016-09-23 04:42:56 +0200 |
| commit | fdb92460ecd945a37b5a830e781ab9e33e7c5e46 (patch) | |
| tree | b78ae79026b591464ca16b3247f32c967f8a9ee2 /php_imlib.c | |
| parent | 86f18145b0870f07b68dc7f0f44a1a86b79a9a65 (diff) | |
Bugfix in imlib_psbbox: angle is a double.
Diffstat (limited to 'php_imlib.c')
| -rw-r--r-- | php_imlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
