summaryrefslogtreecommitdiff
path: root/ext/oci8/oci8_statement.c
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2005-12-01 19:25:48 +0000
committerAntony Dovgal <tony2001@php.net>2005-12-01 19:25:48 +0000
commitfc8d9584b1fa6ce5ec9ec21d1412a7b11f06f666 (patch)
treef43ca6f14212eaf8bbf59ae595560ce4d7e3c260 /ext/oci8/oci8_statement.c
parentbd8df0b32a026ab7645594ed1d3e0f6b7f7d8533 (diff)
downloadphp-git-fc8d9584b1fa6ce5ec9ec21d1412a7b11f06f666.tar.gz
fix Win32 compile failure
Diffstat (limited to 'ext/oci8/oci8_statement.c')
-rw-r--r--ext/oci8/oci8_statement.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/oci8/oci8_statement.c b/ext/oci8/oci8_statement.c
index a56f7a6961..28f857dd23 100644
--- a/ext/oci8/oci8_statement.c
+++ b/ext/oci8/oci8_statement.c
@@ -1213,7 +1213,7 @@ php_oci_bind *php_oci_bind_array_helper_string(zval* var, long max_table_length,
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);