Commit d96331d8 authored by Alexandre Julliard's avatar Alexandre Julliard

ntdll: Make loop counter signed.

Spotted by Gianfranco Costamagna. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48398Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 0747fd29
......@@ -1519,7 +1519,8 @@ static void process_unwind_codes( BYTE *ptr, BYTE *end, CONTEXT *context,
static void *unwind_packed_data( ULONG_PTR base, ULONG_PTR pc, RUNTIME_FUNCTION *func,
CONTEXT *context, KNONVOLATILE_CONTEXT_POINTERS *ptrs )
{
unsigned int i, len, offset, skip = 0;
int i;
unsigned int len, offset, skip = 0;
unsigned int int_size = func->u.s.RegI * 8, fp_size = func->u.s.RegF * 8, regsave, local_size;
TRACE( "function %lx-%lx: len=%#x flag=%x regF=%u regI=%u H=%u CR=%u frame=%x\n",
......
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