Style: start using correct IEC binary prefix (KiB, MiB, ...) - see

http://en.wikipedia.org/wiki/Binary_prefix for more details.
This commit is contained in:
Markus F.X.J. Oberhumer
2008-04-26 08:48:13 +02:00
parent 2c3e841d8a
commit d453cc27a3
31 changed files with 52 additions and 51 deletions
+2 -2
View File
@@ -714,7 +714,7 @@ void PackArmPe::pack(OutputFile *fo)
// limit stack size needed for runtime decompression
upx_compress_config_t cconf; cconf.reset();
cconf.conf_lzma.max_num_probs = 1846 + (768 << 4); // ushort: ~28KB stack
cconf.conf_lzma.max_num_probs = 1846 + (768 << 4); // ushort: ~28 KiB stack
compressWithFilters(&ft, 2048, &cconf, filter_strategy,
ih.codebase, rvamin, 0, NULL, 0);
// info: see buildLoader()
@@ -898,7 +898,7 @@ void PackArmPe::pack(OutputFile *fo)
// set_le32(ibuf + ic,get_le32("UPX "));
ibuf.clear(0, oh.filealign);
info("Image size change: %u -> %u kBytes",
info("Image size change: %u -> %u KiB",
ih.imagesize / 1024, oh.imagesize / 1024);
infoHeader("[Writing compressed file]");