diff options
Diffstat (limited to 'nihil.ucl/integer.ccm')
| -rw-r--r-- | nihil.ucl/integer.ccm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nihil.ucl/integer.ccm b/nihil.ucl/integer.ccm index 0ea490c..e35a471 100644 --- a/nihil.ucl/integer.ccm +++ b/nihil.ucl/integer.ccm @@ -81,7 +81,7 @@ export constexpr auto operator""_ucl (unsigned long long i) -> integer if (std::cmp_greater(i, std::numeric_limits<std::int64_t>::max())) throw std::out_of_range("literal out of range"); - return integer(i); + return integer(static_cast<std::int64_t>(i)); } } // namespace nihil::ucl::literals |
