Skip to content

Commit 09165fb

Browse files
committed
stack_depth takes a signed int as argument
1 parent b8743fa commit 09165fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/goto-instrument/goto_instrument_parse_options.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1137,7 +1137,7 @@ void goto_instrument_parse_optionst::instrument_goto_program()
11371137
status() << "Adding check for maximum call stack size" << eom;
11381138
stack_depth(
11391139
goto_model,
1140-
unsafe_string2unsigned(cmdline.get_value("stack-depth")));
1140+
unsafe_string2int(cmdline.get_value("stack-depth")));
11411141
}
11421142

11431143
// ignore default/user-specified initialization of variables with static

0 commit comments

Comments
 (0)