mirror of
https://github.com/shadps4-emu/ext-fmt.git
synced 2024-11-23 09:49:42 +00:00
fix -Wsign-conversion warning
This commit is contained in:
parent
2471875867
commit
8e47cfd1cd
@ -2887,8 +2887,8 @@ class format_string_checker {
|
||||
using parse_func = const Char* (*)(parse_context_type&);
|
||||
|
||||
parse_context_type context_;
|
||||
parse_func parse_funcs_[num_args > 0 ? num_args : 1];
|
||||
type types_[num_args > 0 ? num_args : 1];
|
||||
parse_func parse_funcs_[num_args > 0 ? static_cast<size_t>(num_args) : 1];
|
||||
type types_[num_args > 0 ? static_cast<size_t>(num_args) : 1];
|
||||
|
||||
public:
|
||||
explicit FMT_CONSTEXPR format_string_checker(
|
||||
|
Loading…
Reference in New Issue
Block a user