File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -490,7 +490,7 @@ class FixedBitset
490
490
return flip_unchecked (pos);
491
491
}
492
492
493
- [[nodiscard]] constexpr unsigned long to_ulong (
493
+ [[nodiscard]] constexpr std:: uint32_t to_ulong (
494
494
const std_transition::source_location& loc =
495
495
std_transition::source_location::current ()) const
496
496
{
@@ -503,7 +503,7 @@ class FixedBitset
503
503
}
504
504
else if constexpr (BITS_SMALL)
505
505
{
506
- return static_cast <unsigned long >(data_at (0 ));
506
+ return static_cast <std:: uint32_t >(data_at (0 ));
507
507
}
508
508
else
509
509
{
@@ -525,11 +525,11 @@ class FixedBitset
525
525
CheckingType::invalid_argument (" FixedBitSet to_ulong overflow error (2)" , loc);
526
526
}
527
527
528
- return static_cast <unsigned long >(data_at (0 ));
528
+ return static_cast <std:: uint32_t >(data_at (0 ));
529
529
}
530
530
}
531
531
532
- [[nodiscard]] constexpr unsigned long long to_ullong (
532
+ [[nodiscard]] constexpr std:: uint64_t to_ullong (
533
533
const std_transition::source_location& loc =
534
534
std_transition::source_location::current ()) const
535
535
{
You can’t perform that action at this time.
0 commit comments