aboutsummaryrefslogtreecommitdiff
path: root/build2/cli/rule.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cli/rule.cxx')
-rw-r--r--build2/cli/rule.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/cli/rule.cxx b/build2/cli/rule.cxx
index bcc3a9f..252c55f 100644
--- a/build2/cli/rule.cxx
+++ b/build2/cli/rule.cxx
@@ -222,7 +222,7 @@ namespace build2
args.push_back (option);
args.push_back (t.ext->empty ()
? t.ext->c_str ()
- : t.path ().extension () - 1);
+ : t.path ().extension_cstring () - 1);
}
}