kalle Thu May 28 20:53:09 2009 UTC Modified files: /php-src/ext/gd gd.c Log: zstr should be used here, this nukes another compiler warning http://cvs.php.net/viewvc.cgi/php-src/ext/gd/gd.c?r1=1.415&r2=1.416&diff_format=u Index: php-src/ext/gd/gd.c diff -u php-src/ext/gd/gd.c:1.415 php-src/ext/gd/gd.c:1.416 --- php-src/ext/gd/gd.c:1.415 Wed May 27 08:12:07 2009 +++ php-src/ext/gd/gd.c Thu May 28 20:53:09 2009 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: gd.c,v 1.415 2009/05/27 08:12:07 pajoye Exp $ */ +/* $Id: gd.c,v 1.416 2009/05/28 20:53:09 kalle Exp $ */ /* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center, Cold Spring Harbor Labs. */ @@ -3624,7 +3624,7 @@ zend_hash_internal_pointer_reset_ex(HASH_OF(EXT), &pos); do { zval ** item; - char * key; + zstr key; ulong num_key; if (zend_hash_get_current_key_ex(HASH_OF(EXT), &key, NULL, &num_key, 0, &pos) != HASH_KEY_IS_STRING) { @@ -3635,7 +3635,7 @@ continue; } - if (strcmp("linespacing", key) == 0) { + if (strcmp("linespacing", key.s) == 0) { convert_to_double_ex(item); strex.flags |= gdFTEX_LINESPACE; strex.linespacing = Z_DVAL_PP(item);
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php