diff options
| author | Stefan Weil <sw@weilnetz.de> | 2018-09-05 21:51:30 +0200 |
|---|---|---|
| committer | Stefan Weil <sw@weilnetz.de> | 2018-09-05 21:52:43 +0200 |
| commit | 31a03b390a77bfbe4b0f140121d1296acb611f76 (patch) | |
| tree | 0e6826268c9bdf721cff0a8ad531a9af49a40c71 /src/lib/openjp2/jp2.c | |
| parent | 9d1a9dc20dd5155bab977a4f53d05c4bbd66533a (diff) | |
openjp2/jp2: Fix two format strings
Compiler warnings:
src/lib/openjp2/jp2.c:1008:35: warning:
too many arguments for format [-Wformat-extra-args]
src/lib/openjp2/j2k.c:1928:73: warning:
format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘OPJ_OFF_T {aka long int}’ [-Wformat=]
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'src/lib/openjp2/jp2.c')
| -rw-r--r-- | src/lib/openjp2/jp2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/openjp2/jp2.c b/src/lib/openjp2/jp2.c index c79ea731..f15f45ae 100644 --- a/src/lib/openjp2/jp2.c +++ b/src/lib/openjp2/jp2.c @@ -1005,7 +1005,7 @@ static OPJ_BOOL opj_jp2_check_color(opj_image_t *image, opj_jp2_color_t *color, if (!pcol_usage[i]) { is_sane = 0U; opj_event_msg(p_manager, EVT_WARNING, - "Component mapping seems wrong. Trying to correct.\n", i); + "Component mapping seems wrong. Trying to correct.\n"); break; } } |
