From: Dmitry Stogov Date: Mon, 21 Jan 2008 19:11:22 +0000 (+0000) Subject: Fixed compilation warning X-Git-Tag: RELEASE_2_0_0a1~821 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a71b7e452a561d1c5f48cf807d55972eb4d047ac;p=php Fixed compilation warning --- diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c index c131edf99a..9068ed3615 100644 --- a/Zend/zend_execute.c +++ b/Zend/zend_execute.c @@ -713,7 +713,7 @@ static inline void zend_assign_to_string_offset(temp_variable *T, zval *value, i } if (T->str_offset.offset >= Z_USTRLEN_P(T->str_offset.str)) { - Z_USTRVAL_P(T->str_offset.str) = (char *) eurealloc(Z_USTRVAL_P(T->str_offset.str), T->str_offset.offset+1+1); + Z_USTRVAL_P(T->str_offset.str) = (UChar *) eurealloc(Z_USTRVAL_P(T->str_offset.str), T->str_offset.offset+1+1); u_memset(Z_USTRVAL_P(T->str_offset.str) + Z_USTRLEN_P(T->str_offset.str), ' ', T->str_offset.offset - Z_USTRLEN_P(T->str_offset.str));