Skip to content

Commit c136801

Browse files
committed
ext/opcache: formalize return type of do_validate_timestamps() to zend_result
1 parent 046b44e commit c136801

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/opcache/ZendAccelerator.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1137,11 +1137,11 @@ accel_time_t zend_get_file_handle_timestamp(zend_file_handle *file_handle, size_
11371137
return statbuf.st_mtime;
11381138
}
11391139

1140-
static inline int do_validate_timestamps(zend_persistent_script *persistent_script, zend_file_handle *file_handle)
1140+
static inline zend_result do_validate_timestamps(zend_persistent_script *persistent_script, zend_file_handle *file_handle)
11411141
{
11421142
zend_file_handle ps_handle;
11431143
zend_string *full_path_ptr = NULL;
1144-
int ret;
1144+
zend_result ret;
11451145

11461146
/** check that the persistent script is indeed the same file we cached
11471147
* (if part of the path is a symlink than it possible that the user will change it)

0 commit comments

Comments
 (0)