From: Rob Richards Date: Mon, 22 Sep 2008 15:30:59 +0000 (+0000) Subject: sz is long not zval** X-Git-Tag: BEFORE_HEAD_NS_CHANGE~341 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4c52444e6d6271678c2b5894b2af07bf4e7a477a;p=php sz is long not zval** --- diff --git a/ext/gd/gd.c b/ext/gd/gd.c index 5b6538fa6a..66fbdaac65 100644 --- a/ext/gd/gd.c +++ b/ext/gd/gd.c @@ -4231,10 +4231,10 @@ PHP_FUNCTION(imagepsbbox) /* printf("%d %d %d %d\n", str_bbox.llx, str_bbox.lly, str_bbox.urx, str_bbox.ury); */ - add_next_index_long(return_value, (int) ceil(((double) str_bbox.llx)*Z_LVAL_PP(sz)/1000)); - add_next_index_long(return_value, (int) ceil(((double) str_bbox.lly)*Z_LVAL_PP(sz)/1000)); - add_next_index_long(return_value, (int) ceil(((double) str_bbox.urx)*Z_LVAL_PP(sz)/1000)); - add_next_index_long(return_value, (int) ceil(((double) str_bbox.ury)*Z_LVAL_PP(sz)/1000)); + add_next_index_long(return_value, (int) ceil(((double) str_bbox.llx)*sz/1000)); + add_next_index_long(return_value, (int) ceil(((double) str_bbox.lly)*sz/1000)); + add_next_index_long(return_value, (int) ceil(((double) str_bbox.urx)*sz/1000)); + add_next_index_long(return_value, (int) ceil(((double) str_bbox.ury)*sz/1000)); } /* }}} */ #endif