From a35b4891340dcecf2b248c7e57a90bf7d7aa9b2f Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Thu, 10 Aug 2017 16:58:36 +0200 Subject: [PATCH] Fix argument order in error message of previous commit --- src/lib/openjp2/t2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }