tony2001 Thu Dec 1 14:25:49 2005 EDT Modified files: (Branch: PHP_5_1) /php-src/ext/oci8 oci8_statement.c Log: fix Win32 compile failure http://cvs.php.net/diff.php/php-src/ext/oci8/oci8_statement.c?r1=1.7.2.3&r2=1.7.2.4&ty=u Index: php-src/ext/oci8/oci8_statement.c diff -u php-src/ext/oci8/oci8_statement.c:1.7.2.3 php-src/ext/oci8/oci8_statement.c:1.7.2.4 --- php-src/ext/oci8/oci8_statement.c:1.7.2.3 Thu Dec 1 08:47:22 2005 +++ php-src/ext/oci8/oci8_statement.c Thu Dec 1 14:25:48 2005 @@ -25,7 +25,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: oci8_statement.c,v 1.7.2.3 2005/12/01 13:47:22 tony2001 Exp $ */ +/* $Id: oci8_statement.c,v 1.7.2.4 2005/12/01 19:25:48 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H @@ -1213,7 +1213,7 @@ convert_to_string_ex(entry); element_length = (maxlength > Z_STRLEN_PP(entry)) ? Z_STRLEN_PP(entry) : maxlength; - memcpy(bind->array.elements + i*maxlength, Z_STRVAL_PP(entry), element_length); + memcpy((text *)bind->array.elements + i*maxlength, Z_STRVAL_PP(entry), element_length); ((text *)bind->array.elements)[i*maxlength + element_length] = '\0'; zend_hash_move_forward(hash);
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php