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 @@ -99,7 +99,7 @@ bool StringMatching::matchPattern(
99
99
const char * pattern,
100
100
const char * str)
101
101
{
102
- if (PathMatchSpec (str, pattern))
102
+ if (PathMatchSpecA (str, pattern))
103
103
{
104
104
return true ;
105
105
}
@@ -110,11 +110,11 @@ bool StringMatching::matchString(
110
110
const char * str1,
111
111
const char * str2)
112
112
{
113
- if (PathMatchSpec (str1, str2))
113
+ if (PathMatchSpecA (str1, str2))
114
114
{
115
115
return true ;
116
116
}
117
- if (PathMatchSpec (str2, str1))
117
+ if (PathMatchSpecA (str2, str1))
118
118
{
119
119
return true ;
120
120
}
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ ReturnCode_t SystemInfo::get_username(
53
53
#define INFO_BUFFER_SIZE 32767
54
54
char user[INFO_BUFFER_SIZE];
55
55
DWORD bufCharCount = INFO_BUFFER_SIZE;
56
- if (!GetUserName (user, &bufCharCount))
56
+ if (!GetUserNameA (user, &bufCharCount))
57
57
{
58
58
return ReturnCode_t::RETCODE_ERROR;
59
59
}
You can’t perform that action at this time.
0 commit comments