From: Shane Caraveo Date: Mon, 30 Jun 2003 20:33:02 +0000 (+0000) Subject: this fixes including this header in a c++ file (vs6) X-Git-Tag: BEFORE_ARG_INFO~509 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5efc65f910ee6b241e040f3a6f1576d6acbfb429;p=php this fixes including this header in a c++ file (vs6) --- diff --git a/Zend/zend_operators.h b/Zend/zend_operators.h index dcfe4c943e..fefc8652dd 100644 --- a/Zend/zend_operators.h +++ b/Zend/zend_operators.h @@ -203,7 +203,7 @@ ZEND_API char *zend_str_tolower_copy(char *dest, const char *source, unsigned in static inline char * zend_str_tolower_dup(const char *source, unsigned int length) { - return zend_str_tolower_copy(emalloc(length+1), source, length); + return zend_str_tolower_copy((char *)emalloc(length+1), source, length); } ZEND_API int zend_binary_zval_strcmp(zval *s1, zval *s2);