From 703c9ff2ea607d457b1d8c6ff4022b6869d40bf7 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Sat, 9 Mar 2024 15:41:43 +0100 Subject: fix warnings --- src/windows/main_windows.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/windows') diff --git a/src/windows/main_windows.cpp b/src/windows/main_windows.cpp index 74c1e86..cec7d47 100644 --- a/src/windows/main_windows.cpp +++ b/src/windows/main_windows.cpp @@ -358,7 +358,7 @@ void ts_platform_list_files_block(ts_search_result* result, wchar_t* start_dir) char *matched_filter = 0; utf8_int8_t uni_name[MAX_INPUT_LENGTH]; WideCharToMultiByte(CP_UTF8,0,name,-1,(LPSTR)uni_name,MAX_INPUT_LENGTH, NULL, NULL); - if (ts_filter_matches(&result->filters, uni_name, &matched_filter) == -1) { + if (ts_filter_matches(&result->filters, uni_name, &matched_filter) == (size_t)-1) { continue; } (void)matched_filter; -- cgit v1.2.3-70-g09d2