From: Takeshi Abe Date: Fri, 15 Jan 2010 16:55:09 +0000 (+0000) Subject: fix the letter type, which affects its type-error message X-Git-Tag: php-5.4.0alpha1~191^2~2082 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c7a20fc4f12fa1daaedacf5c153d86cafdb0fcbd;p=php fix the letter type, which affects its type-error message --- diff --git a/ext/gd/gd.c b/ext/gd/gd.c index cdec117ea6..ef9e3cdd0f 100644 --- a/ext/gd/gd.c +++ b/ext/gd/gd.c @@ -1729,7 +1729,7 @@ PHP_FUNCTION(imagecolorallocatealpha) gdImagePtr im; int ct = (-1); - if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zllll", &IM, &red, &green, &blue, &alpha) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rllll", &IM, &red, &green, &blue, &alpha) == FAILURE) { RETURN_FALSE; }