From 6acda521ccaa448eeb26f81a2432da586bed9b30 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Fri, 7 Mar 2025 01:15:57 +0100 Subject: Removes the remaining references to Fl_String. Still to do: rename fl_filename... to fl_filename..._str and introduce into core library. --- fluid/shell_command.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fluid/shell_command.cxx') diff --git a/fluid/shell_command.cxx b/fluid/shell_command.cxx index a6c49c823..e961fc24c 100644 --- a/fluid/shell_command.cxx +++ b/fluid/shell_command.cxx @@ -364,7 +364,7 @@ void shell_pipe_cb(FL_SOCKET, void*) { static void expand_macro(std::string &cmd, const std::string ¯o, const std::string &content) { for (int i=0;;) { - i = cmd.find(macro, i); + i = (int)cmd.find(macro, i); if (i==(int)std::string::npos) break; cmd.replace(i, macro.size(), content); } -- cgit v1.2.3