Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing type of data_ to size_t to avoid compilation errors #4200

Merged
merged 6 commits into from
Oct 19, 2024
2 changes: 1 addition & 1 deletion include/fmt/base.h
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,7 @@ class basic_specs {
max_fill_size = 4
};

unsigned long data_ = 1 << fill_size_shift;
size_t data_ = 1 << fill_size_shift;

// Character (code unit) type is erased to prevent template bloat.
char fill_data_[max_fill_size] = {' '};
Expand Down
Loading