File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ wstr_to_sv(pTHX_ WCHAR *wstr)
203
203
* characters for the characters not in the ANSI codepage.
204
204
*/
205
205
SV *
206
- get_unicode_env (pTHX_ WCHAR * name )
206
+ get_unicode_env (pTHX_ const WCHAR * name )
207
207
{
208
208
SV * sv = NULL ;
209
209
void * env ;
@@ -699,7 +699,7 @@ XS(w32_MsgBox)
699
699
Safefree (title );
700
700
}
701
701
else {
702
- char * title = "Perl" ;
702
+ const char * title = "Perl" ;
703
703
char * msg = SvPV_nolen (ST (0 ));
704
704
if (items > 2 )
705
705
title = SvPV_nolen (ST (2 ));
@@ -906,7 +906,7 @@ XS(w32_GetFolderPath)
906
906
SV * sv ;
907
907
HKEY hkey ;
908
908
HKEY root = HKEY_CURRENT_USER ;
909
- WCHAR * name = NULL ;
909
+ const WCHAR * name = NULL ;
910
910
911
911
switch (folder ) {
912
912
case CSIDL_ADMINTOOLS : name = L"Administrative Tools" ; break ;
You can’t perform that action at this time.
0 commit comments