Hide a warning. Since 1.5 is not large file safe (>32bits) this should be ok
This commit is contained in:
parent
2a2f169b27
commit
594148ae83
|
@ -1717,7 +1717,7 @@ int main(int argc, char **argv) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
res = fwrite(cio->buffer, 1, codestream_length, f);
|
res = fwrite(cio->buffer, 1, codestream_length, f);
|
||||||
if( res < codestream_length ) {
|
if( res < (size_t)codestream_length ) { /* FIXME */
|
||||||
fprintf(stderr, "failed to write %d (%s)\n", codestream_length, parameters.outfile);
|
fprintf(stderr, "failed to write %d (%s)\n", codestream_length, parameters.outfile);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
@ -1778,7 +1778,7 @@ int main(int argc, char **argv) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
res = fwrite(cio->buffer, 1, codestream_length, f);
|
res = fwrite(cio->buffer, 1, codestream_length, f);
|
||||||
if( res < codestream_length ) {
|
if( res < (size_t)codestream_length ) { /* FIXME */
|
||||||
fprintf(stderr, "failed to write %d (%s)\n", codestream_length, parameters.outfile);
|
fprintf(stderr, "failed to write %d (%s)\n", codestream_length, parameters.outfile);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue