Commit 9daaab54 authored by Alexandre Julliard's avatar Alexandre Julliard

winedbg: Use Win32 types instead of long long.

parent 58273ea9
......@@ -428,7 +428,7 @@ static int stabs_pts_read_type_reference(struct ParseTypedefData* ptd,
struct pts_range_value
{
unsigned long long val;
ULONGLONG val;
int sign;
};
......@@ -483,7 +483,7 @@ static int stabs_pts_read_range(struct ParseTypedefData* ptd, const char* typena
unsigned size;
enum BasicType bt;
int i;
unsigned long long v;
ULONGLONG v;
/* type ';' <int> ';' <int> ';' */
PTS_ABORTIF(ptd, stabs_pts_read_type_def(ptd, NULL, &ref) == -1);
......
......@@ -130,7 +130,7 @@ static int be_alpha_adjust_pc_for_break(CONTEXT* ctx, BOOL way)
}
static int be_alpha_fetch_integer(const struct dbg_lvalue* lvalue, unsigned size,
unsigned ext_sign, long long int* ret)
unsigned ext_sign, LONGLONG* ret)
{
dbg_printf("not done\n");
return FALSE;
......
......@@ -103,7 +103,7 @@ struct backend_cpu
* basic type read/write
* -------------------------------------------------------------------------------*/
/* Reads an integer from memory and stores it inside a long long int */
int (*fetch_integer)(const struct dbg_lvalue* lvalue, unsigned size, unsigned is_signed, long long int*);
int (*fetch_integer)(const struct dbg_lvalue* lvalue, unsigned size, unsigned is_signed, LONGLONG*);
/* Reads a real from memory and stores it inside a long double */
int (*fetch_float)(const struct dbg_lvalue* lvalue, unsigned size, long double*);
};
......
......@@ -496,7 +496,7 @@ static int be_i386_adjust_pc_for_break(CONTEXT* ctx, BOOL way)
}
static int be_i386_fetch_integer(const struct dbg_lvalue* lvalue, unsigned size,
unsigned ext_sign, long long int* ret)
unsigned ext_sign, LONGLONG* ret)
{
if (size != 1 && size != 2 && size != 4 && size != 8) return FALSE;
......@@ -509,7 +509,7 @@ static int be_i386_fetch_integer(const struct dbg_lvalue* lvalue, unsigned size,
/* propagate sign information */
if (ext_sign && size < 8 && (*ret >> (size * 8 - 1)) != 0)
{
long long unsigned int neg = -1;
ULONGLONG neg = -1;
*ret |= neg << (size * 8);
}
return TRUE;
......
......@@ -154,7 +154,7 @@ static int be_ppc_adjust_pc_for_break(CONTEXT* ctx, BOOL way)
}
static int be_ppc_fetch_integer(const struct dbg_lvalue* lvalue, unsigned size,
unsigned ext_sign, long long int* ret)
unsigned ext_sign, LONGLONG* ret)
{
dbg_printf("not done\n");
return FALSE;
......
......@@ -275,7 +275,7 @@ BOOL memory_get_string_indirect(struct dbg_process* pcs, void* addr, BOOL unicod
static void print_typed_basic(const struct dbg_lvalue* lvalue)
{
long long int val_int;
LONGLONG val_int;
void* val_ptr;
long double val_real;
DWORD64 size64;
......
......@@ -38,7 +38,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(winedbg);
long int types_extract_as_integer(const struct dbg_lvalue* lvalue)
{
long int rtn = 0;
long long int val;
LONGLONG val;
DWORD tag, bt;
DWORD64 size;
......
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