~ chicken-core (chicken-5) 24ea6e9c2ab0f4428fe3cb78628cf12bfb0ef897
commit 24ea6e9c2ab0f4428fe3cb78628cf12bfb0ef897 Author: Peter Bex <peter@more-magic.net> AuthorDate: Sun Jun 4 15:22:51 2017 +0200 Commit: Peter Bex <peter@more-magic.net> CommitDate: Sun Jun 4 15:22:51 2017 +0200 Fix another format specifier that's wrong on LLP platforms dbg-stub contains basically a copy/paste of runtime.c's head, which is wrong in the same way as fixed by 9ceef43. diff --git a/dbg-stub.c b/dbg-stub.c index 44a7429a..7357008f 100644 --- a/dbg-stub.c +++ b/dbg-stub.c @@ -75,7 +75,11 @@ static WSADATA wsa; #ifdef C_SIXTY_FOUR # define C_HEADER_BITS_SHIFT 56 -# define UWORD_COUNT_FORMAT_STRING "%lu" +# ifdef LLP +# define UWORD_COUNT_FORMAT_STRING "%llu" +# else +# define UWORD_COUNT_FORMAT_STRING "%lu" +# endif #else # define C_HEADER_BITS_SHIFT 24 # define UWORD_COUNT_FORMAT_STRING "%u"Trap