cvs: ZendEngine2 / zend_operators.h
| From: | Shane Caraveo | Date: | Mon, 30 Jun 2003 20:33:03 +0000 |
| Subject: | cvs: ZendEngine2 / zend_operators.h | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-1414@lists.php.net to get a copy of this message | ||
shane Mon Jun 30 16:33:03 2003 EDT
Modified files:
/ZendEngine2 zend_operators.h
Log:
this fixes including this header in a c++ file (vs6)
Index: ZendEngine2/zend_operators.h
diff -u ZendEngine2/zend_operators.h:1.78 ZendEngine2/zend_operators.h:1.79
--- ZendEngine2/zend_operators.h:1.78 Tue Jun 10 16:03:25 2003
+++ ZendEngine2/zend_operators.h Mon Jun 30 16:33:02 2003
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_operators.h,v 1.78 2003/06/10 20:03:25 imajes Exp $ */
+/* $Id: zend_operators.h,v 1.79 2003/06/30 20:33:02 shane Exp $ */
#ifndef ZEND_OPERATORS_H
#define ZEND_OPERATORS_H
@@ -203,7 +203,7 @@
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);