kill this warning

This commit is contained in:
tonton th 2020-12-06 11:13:06 +01:00
parent d5ccf30dcc
commit b1e613276d

View File

@ -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<globbuf.gl_pathc; idx++) {
fprintf(stderr, "traitement %s -> %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);