mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
ntdll: Fix 64-bit values printing in relay.
Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ef90b6e54c
commit
1d093acc1f
1 changed files with 10 additions and 10 deletions
|
@ -305,14 +305,14 @@ static const char *func_name( struct relay_private_data *data, unsigned int ordi
|
|||
|
||||
static void trace_string_a( INT_PTR ptr )
|
||||
{
|
||||
if (!IS_INTARG( ptr )) TRACE( "%08lx %s", ptr, debugstr_a( (char *)ptr ));
|
||||
else TRACE( "%08lx", ptr );
|
||||
if (!IS_INTARG( ptr )) TRACE( "%08Ix %s", ptr, debugstr_a( (char *)ptr ));
|
||||
else TRACE( "%08Ix", ptr );
|
||||
}
|
||||
|
||||
static void trace_string_w( INT_PTR ptr )
|
||||
{
|
||||
if (!IS_INTARG( ptr )) TRACE( "%08lx %s", ptr, debugstr_w( (WCHAR *)ptr ));
|
||||
else TRACE( "%08lx", ptr );
|
||||
if (!IS_INTARG( ptr )) TRACE( "%08Ix %s", ptr, debugstr_w( (WCHAR *)ptr ));
|
||||
else TRACE( "%08Ix", ptr );
|
||||
}
|
||||
|
||||
#ifdef __i386__
|
||||
|
@ -635,13 +635,13 @@ DECLSPEC_HIDDEN void * WINAPI relay_trace_entry( struct relay_descr *descr, unsi
|
|||
break;
|
||||
case 'i': /* long */
|
||||
default:
|
||||
TRACE( "%08lx", stack[i] );
|
||||
TRACE( "%08zx", stack[i] );
|
||||
break;
|
||||
}
|
||||
if (!is_ret_val( arg_types[i + 1] )) TRACE( "," );
|
||||
}
|
||||
*nb_args = i;
|
||||
TRACE( ") ret=%08lx\n", stack[-1] );
|
||||
TRACE( ") ret=%08zx\n", stack[-1] );
|
||||
return entry_point->orig_func;
|
||||
}
|
||||
|
||||
|
@ -651,7 +651,7 @@ DECLSPEC_HIDDEN void * WINAPI relay_trace_entry( struct relay_descr *descr, unsi
|
|||
DECLSPEC_HIDDEN void WINAPI relay_trace_exit( struct relay_descr *descr, unsigned int idx,
|
||||
INT_PTR retaddr, INT_PTR retval )
|
||||
{
|
||||
TRACE( "\1Ret %s() retval=%08lx ret=%08lx\n",
|
||||
TRACE( "\1Ret %s() retval=%08zx ret=%08zx\n",
|
||||
func_name( descr->private, LOWORD(idx) ), retval, retaddr );
|
||||
}
|
||||
|
||||
|
@ -741,13 +741,13 @@ DECLSPEC_HIDDEN void * WINAPI relay_trace_entry( struct relay_descr *descr, unsi
|
|||
break;
|
||||
case 'i': /* long */
|
||||
default:
|
||||
TRACE( "%08lx", stack[i] );
|
||||
TRACE( "%08zx", stack[i] );
|
||||
break;
|
||||
}
|
||||
if (!is_ret_val( arg_types[i+1] )) TRACE( "," );
|
||||
}
|
||||
*nb_args = i;
|
||||
TRACE( ") ret=%08lx\n", stack[-1] );
|
||||
TRACE( ") ret=%08zx\n", stack[-1] );
|
||||
return entry_point->orig_func;
|
||||
}
|
||||
|
||||
|
@ -757,7 +757,7 @@ DECLSPEC_HIDDEN void * WINAPI relay_trace_entry( struct relay_descr *descr, unsi
|
|||
DECLSPEC_HIDDEN void WINAPI relay_trace_exit( struct relay_descr *descr, unsigned int idx,
|
||||
INT_PTR retaddr, INT_PTR retval )
|
||||
{
|
||||
TRACE( "\1Ret %s() retval=%08lx ret=%08lx\n",
|
||||
TRACE( "\1Ret %s() retval=%08zx ret=%08zx\n",
|
||||
func_name( descr->private, LOWORD(idx) ), retval, retaddr );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue