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:
Daniel Lehman 2020-06-03 19:51:50 -07:00 committed by Alexandre Julliard
parent d276cf7112
commit a9d916cfec
1 changed files with 1 additions and 1 deletions

View File

@ -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();