summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2017-08-10 16:58:36 +0200
committerEven Rouault <even.rouault@spatialys.com>2017-08-10 16:58:36 +0200
commita35b4891340dcecf2b248c7e57a90bf7d7aa9b2f (patch)
tree7307574b6df173e26b996853d222d1a936b4efe0 /src
parent0b4fef6d1901254e41ab74ed681daba477d724c3 (diff)
Fix argument order in error message of previous commit
Diffstat (limited to 'src')
-rw-r--r--src/lib/openjp2/t2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/openjp2/t2.c b/src/lib/openjp2/t2.c
index a5ada708..198960fc 100644
--- a/src/lib/openjp2/t2.c
+++ b/src/lib/openjp2/t2.c
@@ -854,7 +854,7 @@ static OPJ_BOOL opj_t2_encode_packet(OPJ_UINT32 tileno,
opj_event_msg(p_manager, EVT_ERROR,
"opj_t2_encode_packet(): only %u bytes remaining in "
"output buffer. %u needed.\n",
- layer->len, length);
+ length, layer->len);
return OPJ_FALSE;
}