summaryrefslogtreecommitdiff
path: root/src/windows
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2024-03-09 15:41:43 +0100
committerAldrik Ramaekers <aldrikboy@gmail.com>2024-03-09 15:41:43 +0100
commit703c9ff2ea607d457b1d8c6ff4022b6869d40bf7 (patch)
treea847fa3a0ea023eb97ac46131fd6ba4c1a291c13 /src/windows
parent331882200dbad630d7722b4f05e23d69edbc6a6a (diff)
fix warnings
Diffstat (limited to 'src/windows')
-rw-r--r--src/windows/main_windows.cpp2
1 files changed, 1 insertions, 1 deletions
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;