Alexandre Julliard : winedbg: sscanf arguments should be ints, not size_t.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Jun 14 06:51:25 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 68090e5d68c1d1b5b2ba52c4294ce781ee459383
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=68090e5d68c1d1b5b2ba52c4294ce781ee459383

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Jun 13 14:16:06 2006 +0200

winedbg: sscanf arguments should be ints, not size_t.

---

 programs/winedbg/gdbproxy.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/programs/winedbg/gdbproxy.c b/programs/winedbg/gdbproxy.c
index e99ac73..5e4cf29 100644
--- a/programs/winedbg/gdbproxy.c
+++ b/programs/winedbg/gdbproxy.c
@@ -1273,7 +1273,7 @@ static enum packet_return packet_thread(
 static enum packet_return packet_read_memory(struct gdb_context* gdbctx)
 {
     char               *addr;
-    size_t              len, blk_len, nread;
+    unsigned int        len, blk_len, nread;
     char                buffer[32];
     unsigned long       r = 0;
 
@@ -1304,7 +1304,7 @@ static enum packet_return packet_read_me
 static enum packet_return packet_write_memory(struct gdb_context* gdbctx)
 {
     char*               addr;
-    size_t              len, blk_len;
+    unsigned int        len, blk_len;
     char*               ptr;
     char                buffer[32];
     unsigned long       w;




More information about the wine-cvs mailing list