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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user