~ chicken-core (chicken-5) 9f47236be6a120cc6442fc6a39a16fd3ad961891
commit 9f47236be6a120cc6442fc6a39a16fd3ad961891
Author: Peter Bex <peter@more-magic.net>
AuthorDate: Tue Apr 12 21:16:47 2016 +0200
Commit: Peter Bex <peter@more-magic.net>
CommitDate: Tue Apr 12 21:16:47 2016 +0200
Fix another format string in dbg-stub.c which we overlooked
diff --git a/dbg-stub.c b/dbg-stub.c
index fa199ea5..953f7867 100644
--- a/dbg-stub.c
+++ b/dbg-stub.c
@@ -347,7 +347,8 @@ send_event(int event, C_char *loc, C_char *val, C_char *cloc, int cln)
break;
case C_DEBUG_REPLY_GET_BYTES:
- n = sscanf(rw_buffer, "(%d %lu %d)", &reply, &x, &mask);
+ n = sscanf(rw_buffer, "(%d " UWORD_COUNT_FORMAT_STRING " %d)",
+ &reply, &x, &mask);
if(n != 3) terminate("invalid GET_BYTES reply");
Trap