aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbuild2/functions-builtin.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/libbuild2/functions-builtin.cxx b/libbuild2/functions-builtin.cxx
index afafe66..97cc449 100644
--- a/libbuild2/functions-builtin.cxx
+++ b/libbuild2/functions-builtin.cxx
@@ -51,6 +51,7 @@ namespace build2
// string
//
f["string"] = [](bool b) {return b ? "true" : "false";};
+ f["string"] = [](int64_t i) {return to_string (i);};
f["string"] = [](uint64_t i) {return to_string (i);};
f["string"] = [](name n) {return to_string (n);};