From 9ed5f12a95d314ff3299b790c9350e2a06e7dcc1 Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Mon, 8 Oct 2018 00:01:10 +0000 Subject: [PATCH] =?UTF-8?q?Fix=20GCC=20warning:=20field=20precision=20spec?= =?UTF-8?q?ifier=20=E2=80=98.*=E2=80=99=20expects=20argument=20of=20type?= =?UTF-8?q?=20=E2=80=98int=E2=80=99,=20but=20argument=203=20has=20type=20?= =?UTF-8?q?=E2=80=98long=20unsigned=20int=E2=80=99=20[-Wformat=3D]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/sbbs3/pktdump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sbbs3/pktdump.c b/src/sbbs3/pktdump.c index 4af25ebebc..cb6a16da86 100644 --- a/src/sbbs3/pktdump.c +++ b/src/sbbs3/pktdump.c @@ -120,7 +120,7 @@ int pktdump(FILE* fp, const char* fname) printf(" to %s\n" ,faddrtoa(&dest,NULL)); if(pkthdr.type2.password[0]) - fprintf(stdout,"Password: '%.*s'\n",sizeof(pkthdr.type2.password),pkthdr.type2.password); + fprintf(stdout,"Password: '%.*s'\n",(int)sizeof(pkthdr.type2.password),pkthdr.type2.password); fseek(fp,sizeof(pkthdr),SEEK_SET); -- GitLab