]> granicus.if.org Git - php/commitdiff
fix the letter type, which affects its type-error message
authorTakeshi Abe <tabe@php.net>
Fri, 15 Jan 2010 16:55:09 +0000 (16:55 +0000)
committerTakeshi Abe <tabe@php.net>
Fri, 15 Jan 2010 16:55:09 +0000 (16:55 +0000)
ext/gd/gd.c

index cdec117ea6b3b646af7debfeb0fb812f072a6480..ef9e3cdd0fc8bf68bb6e06dfef3ba3f5f3e61967 100644 (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;
        }