File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1238,7 +1238,7 @@ zend_string *accel_make_persistent_key(zend_string *str)
12381238 /* pass */
12391239 } else {
12401240 const char * include_path = NULL , * cwd = NULL ;
1241- int include_path_len = 0 , cwd_len = 0 ;
1241+ size_t include_path_len = 0 , cwd_len = 0 ;
12421242 const zend_string * parent_script = NULL ;
12431243
12441244 if (EXPECTED (ZCG (cwd_key_len ))) {
@@ -1345,7 +1345,7 @@ zend_string *accel_make_persistent_key(zend_string *str)
13451345 char * key = ZSTR_VAL (ZCG (key ));
13461346 memcpy (key , path , path_length );
13471347 key [path_length ] = ':' ;
1348- int key_length = path_length + 1 ;
1348+ size_t key_length = path_length + 1 ;
13491349 memcpy (key + key_length , cwd , cwd_len );
13501350 key_length += cwd_len ;
13511351
You can’t perform that action at this time.
0 commit comments