summaryrefslogtreecommitdiff
path: root/fluid/shell_command.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2025-03-07 01:15:57 +0100
committerMatthias Melcher <github@matthiasm.com>2025-03-07 01:15:57 +0100
commit6acda521ccaa448eeb26f81a2432da586bed9b30 (patch)
treec5cdcca4e341539a0165a74b59a916922ccccb40 /fluid/shell_command.cxx
parent063ff67fcdd6976be214b6fb519d45c650d5498c (diff)
Removes the remaining references to Fl_String.
Still to do: rename fl_filename... to fl_filename..._str and introduce into core library.
Diffstat (limited to 'fluid/shell_command.cxx')
-rw-r--r--fluid/shell_command.cxx2
1 files changed, 1 insertions, 1 deletions
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 &macro, 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);
}