winedbg: Use BOOL type where appropriate (try 2)
Frédéric Delanoy
frederic.delanoy at gmail.com
Thu Mar 20 02:10:32 CDT 2014
---
programs/winedbg/db_disasm.c | 3 +--
programs/winedbg/db_disasm64.c | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/programs/winedbg/db_disasm.c b/programs/winedbg/db_disasm.c
index c745617..8a933b3 100644
--- a/programs/winedbg/db_disasm.c
+++ b/programs/winedbg/db_disasm.c
@@ -1067,8 +1067,7 @@ static const int db_lengths[] = {
10, /* EXTR */
};
-static unsigned int db_get_task_value( const ADDRESS64* addr,
- int size, int is_signed )
+static unsigned int db_get_task_value(const ADDRESS64* addr, int size, BOOL is_signed)
{
unsigned int result = 0;
char buffer[4];
diff --git a/programs/winedbg/db_disasm64.c b/programs/winedbg/db_disasm64.c
index fe6a538..cff91d9 100644
--- a/programs/winedbg/db_disasm64.c
+++ b/programs/winedbg/db_disasm64.c
@@ -43,7 +43,7 @@ static int no_printf(const char* format, ...) {return 0;}
typedef DWORD_PTR db_addr_t;
typedef BOOL boolean_t;
-static ULONG64 db_get_value(db_addr_t addr, int size, int is_signed)
+static ULONG64 db_get_value(db_addr_t addr, int size, BOOL is_signed)
{
ULONG64 result = 0;
char buffer[8];
--
1.9.0
More information about the wine-patches
mailing list