cvs: pecl /imagick imagick.c

From: Date: Tue, 06 Jan 2004 16:43:32 +0000
Subject: cvs: pecl /imagick imagick.c
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-650@lists.php.net to get a copy of this message
mcmontero Tue Jan 6 11:43:32 2004 EDT Modified files: /pecl/imagick imagick.c Log: Fixed missing length column in call to zend_parse_parameters() in imagick_transparent(). Index: pecl/imagick/imagick.c diff -u pecl/imagick/imagick.c:1.49 pecl/imagick/imagick.c:1.50 --- pecl/imagick/imagick.c:1.49 Mon Jan 5 17:01:35 2004 +++ pecl/imagick/imagick.c Tue Jan 6 11:43:31 2004 @@ -16,7 +16,7 @@ | Christian Stocker (chregu@bitflux.ch) | +----------------------------------------------------------------------+ - $Id: imagick.c,v 1.49 2004/01/05 22:01:35 mcmontero Exp $ + $Id: imagick.c,v 1.50 2004/01/06 16:43:31 mcmontero Exp $ */ #ifdef HAVE_CONFIG_H @@ -5174,12 +5174,14 @@ zval* handle_id ; /* the handle identifier coming from the PHP environment */ char* trans_color ; /* the color to make transparent */ + int trans_color_len ; /* the string length of trans_color */ imagick_t* handle ; /* the actual imagick_t struct for the handle */ PixelPacket target ; /* the target transparent pixel */ if ( zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "rs", - &handle_id, &trans_color ) == FAILURE ) + &handle_id, &trans_color, &trans_color_len ) == + FAILURE ) { return ; }

« previous php.pecl.cvs (#650) next »