File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ class SFixed
4141 constexpr const static uintmax_t LogicalSize = IntegerSize + FractionSize;
4242 constexpr const static uintmax_t InternalSize = FIXED_POINTS_DETAILS::BitSize<InternalType>::Value;
4343
44- constexpr const static uintmax_t Scale = 1ULL << FractionSize;
44+ constexpr const static uintmax_t Scale = UINTMAX_C( 1 ) << FractionSize;
4545
4646public:
4747 constexpr const static ShiftType IntegerShift = FractionSize;
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ class UFixed
4141 constexpr const static uintmax_t LogicalSize = IntegerSize + FractionSize;
4242 constexpr const static uintmax_t InternalSize = FIXED_POINTS_DETAILS::BitSize<InternalType>::Value;
4343
44- constexpr const static uintmax_t Scale = 1ULL << FractionSize;
44+ constexpr const static uintmax_t Scale = UINTMAX_C( 1 ) << FractionSize;
4545
4646public:
4747 constexpr const static ShiftType IntegerShift = FractionSize;
You can’t perform that action at this time.
0 commit comments