Skip to content

Commit c6eb7f9

Browse files
committed
fixup
1 parent 958564c commit c6eb7f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/phar/util.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1115,7 +1115,7 @@ zend_result phar_get_archive(phar_archive_data **archive, const char *fname, siz
11151115
if (my_realpath) {
11161116
size_t my_realpath_len = strlen(my_realpath);
11171117
#ifdef PHP_WIN32
1118-
phar_unixify_path_separators(my_realpath, my_realpath);
1118+
phar_unixify_path_separators(my_realpath, my_realpath_len);
11191119
#endif
11201120
fname_len = my_realpath_len;
11211121
fname = my_realpath;

0 commit comments

Comments
 (0)