Module: wine Branch: master Commit: f44f3c23a6fd029d208947f90aba5193bb1f2b82 URL: https://source.winehq.org/git/wine.git/?a=commit;h=f44f3c23a6fd029d208947f90...
Author: Eric Pouech eric.pouech@gmail.com Date: Mon Jan 31 14:14:11 2022 +0100
winedbg: Use correct integral type.
(* as width or precision specifier in printf requires an int not a long)
Signed-off-by: Eric Pouech eric.pouech@gmail.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
programs/winedbg/debugger.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/programs/winedbg/debugger.h b/programs/winedbg/debugger.h index b676bc8d955..0cc2f8b7a6c 100644 --- a/programs/winedbg/debugger.h +++ b/programs/winedbg/debugger.h @@ -39,7 +39,7 @@ #include "oaidl.h" #include <wine/list.h>
-#define ADDRSIZE (dbg_curr_process ? dbg_curr_process->be_cpu->pointer_size : (int)sizeof(void*)) +#define ADDRSIZE ((int)(dbg_curr_process ? dbg_curr_process->be_cpu->pointer_size : sizeof(void*))) #define ADDRWIDTH (ADDRSIZE * 2)
/* the debugger uses these exceptions for its internal use */