cvs: ZendEngine2(PHP_5_3) / zend_builtin_functions.c

"Antony Dovgal" <[email protected]>
Newsgroups gmane.comp.php.cvs.zend
Message-ID <cvstony20011214896980@cvsserver>
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;
 }
 /* }}} */



-- 
Zend Engine CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.