diff options
| author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2012-08-24 08:13:17 +0000 |
|---|---|---|
| committer | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2012-08-24 08:13:17 +0000 |
| commit | 4935eaf773d49df92cea4845c52ff45d4a17ed1e (patch) | |
| tree | 5d800fe3728a894c5e2e436e35ee2ce11c1505d0 /libopenjpeg/jpwl | |
| parent | bad9a71e77863322abb67ec750139e2eba98bbde (diff) | |
[1.5] COMP: Fix warnings identified by clang31
openjpeg/libopenjpeg/tcd.c:1884 col 48: warning: comparison of unsigned expressi
on < 0 is always false
openjpeg/applications/codec/j2k_dump.c:362 col 29: warning: equality comparison
with extraneous parentheses
openjpeg/libopenjpeg/jpwl/jpwl_lib.c:680:19: warning: format specifies type 'int
' but the argument has type 'long long' [-Wformat]
printf("Marker@%d: %X\n", cio_tell(cio) - 2, id);
~^ ~~~~~~~~~~~~~~~~~
%lld
openjpeg/applications/jpip/libopenjpip/byte_manager.c:58:63: warning: format spe
cifies type 'long' but the argument has type 'OPJ_OFF_T' (aka 'long long') [-Wfo
rmat]
fprintf( FCGI_stderr, "Error: error in fetch_bytes( %d, %ld, %lu)\n", fd, offset
, size);
Author: Hans Johnson <hans-johnson@uiowa.edu>
Diffstat (limited to 'libopenjpeg/jpwl')
| -rw-r--r-- | libopenjpeg/jpwl/jpwl_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libopenjpeg/jpwl/jpwl_lib.c b/libopenjpeg/jpwl/jpwl_lib.c index 90a71cec..bb940112 100644 --- a/libopenjpeg/jpwl/jpwl_lib.c +++ b/libopenjpeg/jpwl/jpwl_lib.c @@ -677,7 +677,7 @@ opj_bool jpwl_correct(opj_j2k_t *j2k) { id = cio_read(cio, 2); /* details */ - printf("Marker@%d: %X\n", cio_tell(cio) - 2, id); + printf("Marker@%lld: %X\n", cio_tell(cio) - 2, id); /* do an action in response to the read marker */ switch (id) { |
