summaryrefslogtreecommitdiff
path: root/fluid/shell_command.cxx
diff options
context:
space:
mode:
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);
}