aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/module.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cc/module.cxx')
-rw-r--r--build2/cc/module.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/cc/module.cxx b/build2/cc/module.cxx
index 76935f9..363f1d0 100644
--- a/build2/cc/module.cxx
+++ b/build2/cc/module.cxx
@@ -163,7 +163,7 @@ namespace build2
// Assign values to variables that describe the compiler.
//
rs.assign (x_id) = ci.id.string ();
- rs.assign (x_id_type) = ci.id.type;
+ rs.assign (x_id_type) = to_string (ci.id.type);
rs.assign (x_id_variant) = ci.id.variant;
rs.assign (x_class) = to_string (ci.class_);