File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ bool StringMatching::matchPattern(
101
101
const char * pattern,
102
102
const char * str)
103
103
{
104
- if (PathMatchSpec (str, pattern))
104
+ if (PathMatchSpecA (str, pattern))
105
105
{
106
106
return true ;
107
107
}
@@ -112,11 +112,11 @@ bool StringMatching::matchString(
112
112
const char * str1,
113
113
const char * str2)
114
114
{
115
- if (PathMatchSpec (str1, str2))
115
+ if (PathMatchSpecA (str1, str2))
116
116
{
117
117
return true ;
118
118
}
119
- if (PathMatchSpec (str2, str1))
119
+ if (PathMatchSpecA (str2, str1))
120
120
{
121
121
return true ;
122
122
}
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ ReturnCode_t SystemInfo::get_username(
104
104
#define INFO_BUFFER_SIZE 32767
105
105
char user[INFO_BUFFER_SIZE];
106
106
DWORD bufCharCount = INFO_BUFFER_SIZE;
107
- if (!GetUserName (user, &bufCharCount))
107
+ if (!GetUserNameA (user, &bufCharCount))
108
108
{
109
109
return ReturnCode_t::RETCODE_ERROR;
110
110
}
You can’t perform that action at this time.
0 commit comments