Browse Source

kill this warning

master
tonton th 2 years ago
parent
commit
b1e613276d
  1. 6
      Fonderie/fonderie.c

6
Fonderie/fonderie.c

@ -93,8 +93,8 @@ if (foo) { @@ -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++) { @@ -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);

Loading…
Cancel
Save