diff options
Diffstat (limited to 'ext/gd/gd.c')
-rw-r--r-- | ext/gd/gd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/gd/gd.c b/ext/gd/gd.c index 2e021de788..50d4745371 100644 --- a/ext/gd/gd.c +++ b/ext/gd/gd.c @@ -3902,7 +3902,7 @@ PHP_FUNCTION(imagesetclip) zval *im_zval; gdImagePtr im; zend_long x1, y1, x2, y2; - + if (zend_parse_parameters(ZEND_NUM_ARGS(), "rllll", &im_zval, &x1, &y1, &x2, &y2) == FAILURE) { return; } @@ -3923,7 +3923,7 @@ PHP_FUNCTION(imagegetclip) zval *im_zval; gdImagePtr im; int x1, y1, x2, y2; - + if (zend_parse_parameters(ZEND_NUM_ARGS(), "r", &im_zval) == FAILURE) { return; } @@ -3933,7 +3933,7 @@ PHP_FUNCTION(imagegetclip) } gdImageGetClip(im, &x1, &y1, &x2, &y2); - + array_init(return_value); add_next_index_long(return_value, x1); add_next_index_long(return_value, y1); |