1
0
mirror of https://github.com/php/php-src.git synced 2026-03-28 02:02:32 +01:00

fix the letter type, which affects its type-error message

This commit is contained in:
Takeshi Abe
2010-01-15 16:55:09 +00:00
parent 625bf83ef0
commit c7a20fc4f1

View File

@@ -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;
}