Commit 68090e5d authored by Alexandre Julliard's avatar Alexandre Julliard

winedbg: sscanf arguments should be ints, not size_t.

parent fb15dabd
...@@ -1273,7 +1273,7 @@ static enum packet_return packet_thread(struct gdb_context* gdbctx) ...@@ -1273,7 +1273,7 @@ static enum packet_return packet_thread(struct gdb_context* gdbctx)
static enum packet_return packet_read_memory(struct gdb_context* gdbctx) static enum packet_return packet_read_memory(struct gdb_context* gdbctx)
{ {
char *addr; char *addr;
size_t len, blk_len, nread; unsigned int len, blk_len, nread;
char buffer[32]; char buffer[32];
unsigned long r = 0; unsigned long r = 0;
...@@ -1304,7 +1304,7 @@ static enum packet_return packet_read_memory(struct gdb_context* gdbctx) ...@@ -1304,7 +1304,7 @@ static enum packet_return packet_read_memory(struct gdb_context* gdbctx)
static enum packet_return packet_write_memory(struct gdb_context* gdbctx) static enum packet_return packet_write_memory(struct gdb_context* gdbctx)
{ {
char* addr; char* addr;
size_t len, blk_len; unsigned int len, blk_len;
char* ptr; char* ptr;
char buffer[32]; char buffer[32];
unsigned long w; unsigned long w;
......
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