diff options
| author | Matthias Melcher <github@matthiasm.com> | 2025-03-07 00:59:25 +0100 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2025-03-07 00:59:25 +0100 |
| commit | 063ff67fcdd6976be214b6fb519d45c650d5498c (patch) | |
| tree | a06e9cb82458683e4f17ac14b13426516c429033 /fluid/shell_command.cxx | |
| parent | e8060f2a61976fd55c173098603fcb4f90e0f48f (diff) | |
Fixing a couple of warnings.
Diffstat (limited to 'fluid/shell_command.cxx')
| -rw-r--r-- | fluid/shell_command.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fluid/shell_command.cxx b/fluid/shell_command.cxx index 97c49f462..a6c49c823 100644 --- a/fluid/shell_command.cxx +++ b/fluid/shell_command.cxx @@ -365,7 +365,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); - if (i==std::string::npos) break; + if (i==(int)std::string::npos) break; cmd.replace(i, macro.size(), content); } } |
