]> granicus.if.org Git - php/commitdiff
this fixes including this header in a c++ file (vs6)
authorShane Caraveo <shane@php.net>
Mon, 30 Jun 2003 20:33:02 +0000 (20:33 +0000)
committerShane Caraveo <shane@php.net>
Mon, 30 Jun 2003 20:33:02 +0000 (20:33 +0000)
Zend/zend_operators.h

index dcfe4c943e0f81768ba7d300b2915fb0a87c8813..fefc8652dd6f7a49cc27f93522664c468a236e9a 100644 (file)
@@ -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);