Consistently round up the memory usage limit in messages.
authorLasse Collin <lasse.collin@tukaani.org>
Sun, 7 Mar 2010 11:50:23 +0000 (13:50 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Sun, 7 Mar 2010 11:50:23 +0000 (13:50 +0200)
commit00fc1211ae7b687ac912098f4479112059deccbd
tree716567530880e4ed2b48886d0cf08552d3164687
parent9886d436ff5615fc70eef32ff757b1e934069621
Consistently round up the memory usage limit in messages.

It still feels a bit wrong to round 1 byte to 1 MiB but
at least it is now done consistently so that the same
byte value is always rounded the same way to MiB.
src/xz/message.c
src/xzdec/xzdec.c