Commit a9d916cf authored by Daniel Lehman's avatar Daniel Lehman Committed by Alexandre Julliard

vcruntime140_1: Don't terminate on -1 trylevel.

parent d276cf71
......@@ -426,7 +426,7 @@ static void cxx_local_unwind4(ULONG64 frame, DISPATCHER_CONTEXT *dispatch,
TRACE("current level: %d, last level: %d\n", trylevel, last_level);
if (trylevel<-1 || trylevel>=descr->unwind_count)
if (trylevel<-1 || trylevel>=(int)descr->unwind_count)
{
ERR("invalid trylevel %d\n", trylevel);
terminate();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment