mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 09:05:31 +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:
parent
b11f9050e3
commit
9253ca9d86
7 changed files with 8 additions and 9 deletions
|
@ -391,7 +391,7 @@ namespace datalog {
|
|||
std::ostringstream buffer;
|
||||
buffer << "creating large table of size " << upper_bound;
|
||||
if (p) buffer << " for relation " << p->get_name();
|
||||
warning_msg(buffer.str().c_str());
|
||||
warning_msg("%s", buffer.str().c_str());
|
||||
}
|
||||
|
||||
for(table_element i = 0; i < upper_bound; i++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue