Hide a warning. Since 1.5 is not large file safe (>32bits) this should be ok

This commit is contained in:
Mathieu Malaterre 2011-12-16 10:43:10 +00:00
parent 2a2f169b27
commit 594148ae83
1 changed files with 2 additions and 2 deletions

View File

@ -1717,7 +1717,7 @@ int main(int argc, char **argv) {
return 1;
}
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);
return 1;
}
@ -1778,7 +1778,7 @@ int main(int argc, char **argv) {
return 1;
}
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);
return 1;
}