From b5163461dc77840eeb4fe773cf7f986e1e1427e8 Mon Sep 17 00:00:00 2001 From: "Magomed Kostoev (mkostoevr)" Date: Sun, 17 Oct 2021 09:33:01 +0000 Subject: [PATCH] [clink] Make it compile by GCC git-svn-id: svn://kolibrios.org@9220 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/develop/clink/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/programs/develop/clink/main.c b/programs/develop/clink/main.c index 1d9de5a5ff..5c67da14dd 100644 --- a/programs/develop/clink/main.c +++ b/programs/develop/clink/main.c @@ -1,4 +1,5 @@ #include +#include #include #include #include @@ -228,7 +229,7 @@ static void build(ObjectIr *ir, const char *outname) { size_t strtab_index = strtab_add(&strtab, name); char numstr[8] = { 0 }; - sprintf(numstr, "%u", strtab_index); + sprintf(numstr, "%lu", strtab_index); fwrite(numstr, 1, 7, out); } fwrite32(out, 0); // VirtualSize