From 5efc65f910ee6b241e040f3a6f1576d6acbfb429 Mon Sep 17 00:00:00 2001 From: Shane Caraveo Date: Mon, 30 Jun 2003 20:33:02 +0000 Subject: [PATCH] this fixes including this header in a c++ file (vs6) --- Zend/zend_operators.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.50.1