summaryrefslogtreecommitdiff
path: root/jffsX-utils/compr_rtime.c
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2018-01-29 23:07:11 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2018-01-30 09:24:19 +0100
commit61afcc6f46368caf4b8eb64612decebb05fadba7 (patch)
treedb7c5f6d05f9c3b2dc0a0c14d4496e4a62784724 /jffsX-utils/compr_rtime.c
parent6766178412934e29db12ff5e6663604c6e909c6e (diff)
mtd-utils: common.c: convert to integer arithmetic
We use floating point just to print out KiB, MiB, GiB. Avoid that to be klibc friendly. Fixes compilation for aarch64 against klibc: error: '-mgeneral-regs-only' is incompatible with floating-point argument | printf("%s%.1f GiB", p, (double)bytes / (1024 * 1024 * 1024)); etc. Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'jffsX-utils/compr_rtime.c')
0 files changed, 0 insertions, 0 deletions