php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #60829
Patch gmagick-getcolor.patch revision 2012-01-21 06:54 UTC by fedora at famillecollet dot com

Patch gmagick-getcolor.patch for gmagick Bug #60829

Patch version 2012-01-21 06:54 UTC

Return to Bug #60829 | Download this patch
Patch Revisions:

Developer: fedora@famillecollet.com

diff -up gmagick-1.1.0RC2/gmagickpixel_methods.c.orig gmagick-1.1.0RC2/gmagickpixel_methods.c
--- gmagick-1.1.0RC2/gmagickpixel_methods.c.orig	2012-01-21 07:42:13.727957934 +0100
+++ gmagick-1.1.0RC2/gmagickpixel_methods.c	2012-01-21 07:43:09.328959265 +0100
@@ -82,7 +82,7 @@ PHP_METHOD(gmagickpixel, getcolor)
 	zend_bool as_array = 0, normalise_array = 0;
 
 	/* Parse parameters given to function */
-	if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|b", &as_array, &normalise_array) == FAILURE) {
+	if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|bb", &as_array, &normalise_array) == FAILURE) {
 		return;
 	}
 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 28 17:01:29 2024 UTC