summaryrefslogtreecommitdiff
path: root/src/glob_matching.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glob_matching.h')
-rw-r--r--src/glob_matching.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glob_matching.h b/src/glob_matching.h
index 69e2d2a4..e7e7b621 100644
--- a/src/glob_matching.h
+++ b/src/glob_matching.h
@@ -114,8 +114,8 @@ namespace MOShared {
while (str_it != str_end)
{
- CharT current_pat = 0;
- CharT current_str = -1;
+ CharT current_pat = QChar(0);
+ CharT current_str = QChar(-1);
if (pat_it != pat_end)
{
current_pat = case_sensitive ? *pat_it : traits::tolower(*pat_it);