mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 04:03:39 +00:00
bypass warning size_t/unsigned
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
695a9a69d1
commit
536c2b6ce5
|
@ -93,7 +93,7 @@ void format2ostream(std::ostream & out, char const* msg, va_list args) {
|
||||||
va_end(args_copy);
|
va_end(args_copy);
|
||||||
|
|
||||||
// +1 is for NUL termination.
|
// +1 is for NUL termination.
|
||||||
buff.resize(msg_len + 1);
|
buff.resize(static_cast<unsigned>(msg_len + 1));
|
||||||
|
|
||||||
VPRF(buff.c_ptr(), buff.size(), msg, args);
|
VPRF(buff.c_ptr(), buff.size(), msg, args);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue