summaryrefslogtreecommitdiff
path: root/src/glob_matching.h
diff options
context:
space:
mode:
authorJeremy Rimpo <jeremy.rimpo@servermonkey.com>2021-12-06 03:51:08 -0600
committerMikaƫl Capelle <capelle.mikael@gmail.com>2022-04-19 15:17:23 +0200
commitc4b2be45d29a247422e60bb8fdf1664c10384eee (patch)
tree729640dc3e5105fe6eea04a5a03451176fc91a7e /src/glob_matching.h
parentec01532ecbd2d7c99d1b3bdd8cf261795df59327 (diff)
First pass for Qt6 compatibility
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);