mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Zend: use type uint32_t for zend_lineno global
This commit is contained in:
@@ -519,7 +519,7 @@ ZEND_API zend_string *zend_get_compiled_filename(void) /* {{{ */
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
ZEND_API int zend_get_compiled_lineno(void) /* {{{ */
|
||||
ZEND_API uint32_t zend_get_compiled_lineno(void) /* {{{ */
|
||||
{
|
||||
return CG(zend_lineno);
|
||||
}
|
||||
@@ -4697,7 +4697,7 @@ static const zend_frameless_function_info *find_frameless_function_info(zend_ast
|
||||
|
||||
static uint32_t zend_compile_frameless_icall_ex(znode *result, zend_ast_list *args, zend_function *fbc, const zend_frameless_function_info *frameless_function_info, uint32_t type)
|
||||
{
|
||||
int lineno = CG(zend_lineno);
|
||||
uint32_t lineno = CG(zend_lineno);
|
||||
uint32_t num_args = frameless_function_info->num_args;
|
||||
uint32_t offset = find_frameless_function_offset(num_args, frameless_function_info->handler);
|
||||
znode arg_zvs[3];
|
||||
|
||||
@@ -894,7 +894,7 @@ void shutdown_scanner(void);
|
||||
ZEND_API zend_string *zend_set_compiled_filename(zend_string *new_compiled_filename);
|
||||
ZEND_API void zend_restore_compiled_filename(zend_string *original_compiled_filename);
|
||||
ZEND_API zend_string *zend_get_compiled_filename(void);
|
||||
ZEND_API int zend_get_compiled_lineno(void);
|
||||
ZEND_API uint32_t zend_get_compiled_lineno(void);
|
||||
ZEND_API size_t zend_get_scanned_file_offset(void);
|
||||
|
||||
ZEND_API zend_string *zend_get_compiled_variable_name(const zend_op_array *op_array, uint32_t var);
|
||||
|
||||
@@ -88,7 +88,7 @@ struct _zend_compiler_globals {
|
||||
|
||||
zend_string *compiled_filename;
|
||||
|
||||
int zend_lineno;
|
||||
uint32_t zend_lineno;
|
||||
|
||||
zend_op_array *active_op_array;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user