Commit 8e47cfd1 authored by Juraj's avatar Juraj Committed by Victor Zverovich

fix -Wsign-conversion warning

parent 24718758
...@@ -2887,8 +2887,8 @@ class format_string_checker { ...@@ -2887,8 +2887,8 @@ class format_string_checker {
using parse_func = const Char* (*)(parse_context_type&); using parse_func = const Char* (*)(parse_context_type&);
parse_context_type context_; parse_context_type context_;
parse_func parse_funcs_[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 ? num_args : 1]; type types_[num_args > 0 ? static_cast<size_t>(num_args) : 1];
public: public:
explicit FMT_CONSTEXPR format_string_checker( explicit FMT_CONSTEXPR format_string_checker(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment