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);