Skip to content

Commit

Permalink
reverting changes since it was causing gcc compilation failed with
Browse files Browse the repository at this point in the history
useless cast
  • Loading branch information
vinayyadav3016 committed Oct 15, 2024
1 parent 7937ff9 commit 83778bd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/fmt/base.h
Original file line number Diff line number Diff line change
Expand Up @@ -727,8 +727,7 @@ class basic_specs {
char fill_data_[max_fill_size] = {' '};

FMT_CONSTEXPR void set_fill_size(size_t size) {
data_ = static_cast<unsigned long>((data_ & ~fill_size_mask) |
(size << fill_size_shift));
data_ = (data_ & ~fill_size_mask) | (size << fill_size_shift);
}

public:
Expand Down

0 comments on commit 83778bd

Please sign in to comment.