summaryrefslogtreecommitdiff
path: root/cygwin
diff options
context:
space:
mode:
Diffstat (limited to 'cygwin')
-rw-r--r--cygwin/cygwin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cygwin/cygwin.c b/cygwin/cygwin.c
index f9d25b4557..dddeac5407 100644
--- a/cygwin/cygwin.c
+++ b/cygwin/cygwin.c
@@ -276,7 +276,7 @@ XS(XS_Cygwin_win_to_posix_path)
if (items < 1 || items > 2)
Perl_croak(aTHX_ "Usage: Cygwin::win_to_posix_path(pathname, [absolute])");
- src_path = SvPV(ST(0), len);
+ src_path = SvPVx(ST(0), len);
if (items == 2)
absolute_flag = SvTRUE(ST(1));