Fix argument order in error message of previous commit

This commit is contained in:
Even Rouault 2017-08-10 16:58:36 +02:00
parent 0b4fef6d19
commit a35b489134
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}