diff options
Diffstat (limited to 'win32/dl_win32.xs')
-rw-r--r-- | win32/dl_win32.xs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/dl_win32.xs b/win32/dl_win32.xs index c650acffb7..3473520372 100644 --- a/win32/dl_win32.xs +++ b/win32/dl_win32.xs @@ -42,7 +42,7 @@ OS_Error_String(CPERLarg) DWORD err = GetLastError(); STRLEN len; if (!error_sv) - error_sv = newSVpv("",0); + error_sv = newSVpvn("",0); win32_str_os_error(error_sv,err); return SvPV(error_sv,len); } |