mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
fixed VS build. (nw)
This commit is contained in:
parent
54d04df9af
commit
456453f3b2
@ -1219,7 +1219,7 @@ public:
|
||||
static void apply(Stream &str, format_flags const &flags, U const *value)
|
||||
{
|
||||
static_assert(
|
||||
!format_output::template string_semantics<U>::value || (N <= size_t(unsigned(std::numeric_limits<int>::max()))),
|
||||
!format_output::template string_semantics<U>::value || (N <= size_t(unsigned((std::numeric_limits<int>::max)()))),
|
||||
"C string array length must not exceed maximum integer value");
|
||||
format_flags f(flags);
|
||||
if (format_output::template string_semantics<U>::value && ((0 > f.get_precision()) || (N < unsigned(f.get_precision()))))
|
||||
|
Loading…
Reference in New Issue
Block a user