diff options
Diffstat (limited to 'Source/cmFileAPI.cxx')
-rw-r--r-- | Source/cmFileAPI.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmFileAPI.cxx b/Source/cmFileAPI.cxx index c1df992ccb..7f8374d06e 100644 --- a/Source/cmFileAPI.cxx +++ b/Source/cmFileAPI.cxx @@ -417,7 +417,7 @@ const char* cmFileAPI::ObjectKindName(ObjectKind kind) "toolchains", // "__test" // }; - return objectKindNames[size_t(kind)]; + return objectKindNames[static_cast<size_t>(kind)]; } std::string cmFileAPI::ObjectName(Object const& o) |