From a63ad76603accc70747a2073c78139299064c43b Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sun, 1 Jan 2023 20:05:42 +0100 Subject: FLUID refactor and macOS warnings removed (#623) P renamed to g_project class Project renamed to class Fluid_Project fixes macOS type cast warnings --- src/Fl_Native_File_Chooser_MAC.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Fl_Native_File_Chooser_MAC.mm') diff --git a/src/Fl_Native_File_Chooser_MAC.mm b/src/Fl_Native_File_Chooser_MAC.mm index df4808cb2..fbf97abed 100644 --- a/src/Fl_Native_File_Chooser_MAC.mm +++ b/src/Fl_Native_File_Chooser_MAC.mm @@ -434,7 +434,7 @@ static char *prepareMacFilter(int count, const char *filter, char **patterns) { l += strlen(patterns[i]) + 3; } const char *p = filter; - const int t_size = strlen(p) + l + 1; + const int t_size = (int)strlen(p) + l + 1; char *q; q = new char[t_size]; const char *r, *s; char *t; -- cgit v1.2.3