mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue