vcruntime140_1: Don't terminate on -1 trylevel.
Signed-off-by: Daniel Lehman <dlehman25@gmail.com> Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
d276cf7112
commit
a9d916cfec
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue