3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-26 02:25:32 +00:00

make use of warning_msg safe for formatting. Thanks to Scott McPeak for reporting

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2016-06-14 08:10:10 -07:00
parent b11f9050e3
commit 9253ca9d86
7 changed files with 8 additions and 9 deletions

View file

@ -1965,7 +1965,7 @@ bool ast_manager::check_sorts(ast const * n) const {
return true;
}
catch (ast_exception & ex) {
warning_msg(ex.msg());
warning_msg("%s", ex.msg());
return false;
}
}