cvs: ZendEngine2(PHP_5_3) / zend_builtin_functions.c
| From: | Antony Dovgal | Date: | Tue, 01 Jul 2008 07:23:00 +0000 |
| Subject: | cvs: ZendEngine2(PHP_5_3) / zend_builtin_functions.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-6831@lists.php.net to get a copy of this message | ||
tony2001 Tue Jul 1 07:23:00 2008 UTC
Modified files: (Branch: PHP_5_3)
/ZendEngine2 zend_builtin_functions.c
Log:
MFH
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_builtin_functions.c?r1=1.277.2.12.2.25.2.20&r2=1.277.2.12.2.25.2.21&diff_format=u
Index: ZendEngine2/zend_builtin_functions.c
diff -u ZendEngine2/zend_builtin_functions.c:1.277.2.12.2.25.2.20
ZendEngine2/zend_builtin_functions.c:1.277.2.12.2.25.2.21
--- ZendEngine2/zend_builtin_functions.c:1.277.2.12.2.25.2.20 Wed Jun 25 22:35:31 2008
+++ ZendEngine2/zend_builtin_functions.c Tue Jul 1 07:23:00 2008
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_builtin_functions.c,v 1.277.2.12.2.25.2.20 2008/06/25 22:35:31 felipe Exp $ */
+/* $Id: zend_builtin_functions.c,v 1.277.2.12.2.25.2.21 2008/07/01 07:23:00 tony2001 Exp $ */
#include "zend.h"
#include "zend_API.h"
@@ -1220,7 +1220,7 @@
Generates a user-level error/warning/notice message */
ZEND_FUNCTION(trigger_error)
{
- int error_type = E_USER_NOTICE;
+ long error_type = E_USER_NOTICE;
char *message;
int message_len;
@@ -1239,7 +1239,7 @@
break;
}
- zend_error(error_type, "%s", message);
+ zend_error((int)error_type, "%s", message);
RETURN_TRUE;
}
/* }}} */