aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
Diffstat (limited to 'Alc')
-rw-r--r--Alc/helpers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/helpers.c b/Alc/helpers.c
index b4d3769a..c4a220ef 100644
--- a/Alc/helpers.c
+++ b/Alc/helpers.c
@@ -586,8 +586,8 @@ static int MatchFilter(const WCHAR *match, const WIN32_FIND_DATAW *fdata)
match, -1, name, -1) == CSTR_EQUAL;
else
{
- size_t len = p-match;
- ret = (size_t)lstrlenW(name) >= len;
+ int len = p-match;
+ ret = lstrlenW(name) >= len;
if(ret)
ret = CompareStringW(GetThreadLocale(), NORM_IGNORECASE,
match, len, name, len) == CSTR_EQUAL;