diff options
Diffstat (limited to 'build2/cc/msvc.cxx')
-rw-r--r-- | build2/cc/msvc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/cc/msvc.cxx b/build2/cc/msvc.cxx index 4ac82a0..fc2979c 100644 --- a/build2/cc/msvc.cxx +++ b/build2/cc/msvc.cxx @@ -69,7 +69,7 @@ namespace build2 // if (lt == otype::s && l.compare (0, 3, " ") == 0) { - path imp (static_cast<file*> (t.member)->path ().leaf ()); + path imp (static_cast<const file&> (*t.member).path ().leaf ()); if (l.find (imp.string ()) != string::npos && l.find (imp.base ().string () + ".exp") != string::npos) |