Skip to content

Commit 7f373c8

Browse files
author
Daniel Kroening
authored
Merge pull request diffblue#2549 from tautschnig/vs-unsigned-option
Extract unsigned value from options
2 parents b17fefa + a746a2c commit 7f373c8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/cbmc/cbmc_solvers.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,8 @@ std::unique_ptr<cbmc_solverst::solvert> cbmc_solverst::get_string_refinement()
145145
info.refinement_bound=DEFAULT_MAX_NB_REFINEMENT;
146146
info.ui=ui;
147147
if(options.get_bool_option("string-max-length"))
148-
info.max_string_length = options.get_signed_int_option("string-max-length");
148+
info.max_string_length =
149+
options.get_unsigned_int_option("string-max-length");
149150
info.trace=options.get_bool_option("trace");
150151
if(options.get_bool_option("max-node-refinement"))
151152
info.max_node_refinement=

0 commit comments

Comments
 (0)