From c4b2be45d29a247422e60bb8fdf1664c10384eee Mon Sep 17 00:00:00 2001 From: Jeremy Rimpo Date: Mon, 6 Dec 2021 03:51:08 -0600 Subject: First pass for Qt6 compatibility --- src/glob_matching.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/glob_matching.h') 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); -- cgit v1.3.1