diff options
| author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2011-12-16 10:43:10 +0000 |
|---|---|---|
| committer | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2011-12-16 10:43:10 +0000 |
| commit | 594148ae8383ec058d0db1087db4eefe7a150b6f (patch) | |
| tree | 28d87062dedf49ec2dd7c9d470ef5b74fd9863f2 /applications/codec | |
| parent | 2a2f169b2733e69588d9376bf5b8f31ed46e5bf3 (diff) | |
Hide a warning. Since 1.5 is not large file safe (>32bits) this should be ok
Diffstat (limited to 'applications/codec')
| -rw-r--r-- | applications/codec/image_to_j2k.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/codec/image_to_j2k.c b/applications/codec/image_to_j2k.c index dd8425db..cbdc1e60 100644 --- a/applications/codec/image_to_j2k.c +++ b/applications/codec/image_to_j2k.c @@ -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; } |
