Fix D68936

llvm-svn: 374761
This commit is contained in:
Guillaume Chatelet 2019-10-14 09:31:00 +00:00
parent f2b28fd161
commit 2a3f527cf8
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ public:
/// Allow constructions of constexpr Align.
template <size_t kValue> constexpr static LogValue Constant() {
return LogValue{CTLog2<kValue>()};
return LogValue{static_cast<uint8_t>(CTLog2<kValue>())};
}
/// Allow constructions of constexpr Align from types.