mirror of
https://github.com/php/php-src.git
synced 2024-09-25 11:57:26 +00:00
sz is long not zval**
This commit is contained in:
parent
0f3597a2d2
commit
4c52444e6d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user