From a358211a75ef17a51f67df471552df92c68fa565 Mon Sep 17 00:00:00 2001 From: Gabriel Caruso Date: Fri, 23 Feb 2018 21:33:03 -0300 Subject: Fix imagesetinterpolation arginfo imagesetinterpolation only requires one parameter. --- NEWS | 3 +++ ext/gd/gd.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 7dcc0b8473..c0fee6e485 100644 --- a/NEWS +++ b/NEWS @@ -16,6 +16,9 @@ PHP NEWS - FTP: . Fixed ftp_pasv arginfo. (carusogabriel) +-GD: + . Fixed imagesetinterpolation arginfo. (Gabriel Caruso) + - LDAP: . Fixed bug #49876 (Fix LDAP path lookup on 64-bit distros). (dzuelke) diff --git a/ext/gd/gd.c b/ext/gd/gd.c index 1b2c4f0510..e7667d2d2a 100644 --- a/ext/gd/gd.c +++ b/ext/gd/gd.c @@ -819,7 +819,7 @@ ZEND_BEGIN_ARG_INFO(arginfo_imageaffinematrixconcat, 0) ZEND_ARG_INFO(0, m2) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO(arginfo_imagesetinterpolation, 0) +ZEND_BEGIN_ARG_INFO_EX(arginfo_imagesetinterpolation, 0, 0, 1) ZEND_ARG_INFO(0, im) ZEND_ARG_INFO(0, method) ZEND_END_ARG_INFO() -- cgit v1.2.1