From b1e613276d72e55398a5474767e2c65e31cbf273 Mon Sep 17 00:00:00 2001 From: tonton th Date: Sun, 6 Dec 2020 11:13:06 +0100 Subject: [PATCH] kill this warning --- Fonderie/fonderie.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Fonderie/fonderie.c b/Fonderie/fonderie.c index f831cb3e..9c2d5ea4 100644 --- a/Fonderie/fonderie.c +++ b/Fonderie/fonderie.c @@ -93,8 +93,8 @@ if (foo) { exit(1); } -fprintf(stderr, "glob '%s' -> %d, %ld files found\n", pattern, foo, - globbuf.gl_pathc); +fprintf(stderr, "glob '%s' -> %d, %d files found\n", pattern, foo, + (int)globbuf.gl_pathc); /* get the size of the inputs images */ foo = fimg_fileinfos(globbuf.gl_pathv[0], datas); @@ -140,7 +140,7 @@ for (idx=0; idx %d WTF?\n", cptr, foo); break; } - fprintf(stderr, "\t%5d / %5ld\r", idx, globbuf.gl_pathc); + fprintf(stderr, "\t%5d / %5d\r", idx, (int)globbuf.gl_pathc); } fputs("\n", stderr);