diff options
author | Karel Zak | 2018-07-20 12:52:55 +0200 |
---|---|---|
committer | Karel Zak | 2018-07-20 12:54:58 +0200 |
commit | d54b83156f8c4c18367130c054a688f5424bfef6 (patch) | |
tree | 64ad939b0b7c4b779c978f013d16ba29889e664e /libmount | |
parent | include/strutils: remove unnecessary cast (diff) | |
download | kernel-qcow2-util-linux-d54b83156f8c4c18367130c054a688f5424bfef6.tar.gz kernel-qcow2-util-linux-d54b83156f8c4c18367130c054a688f5424bfef6.tar.xz kernel-qcow2-util-linux-d54b83156f8c4c18367130c054a688f5424bfef6.zip |
lib/strutils: follow const in parse_size()
* don't cast from char to const char
* don't share endptr from strtoxxx() with rest of the code
as the end pointer is char, but code works with const chars
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount')
0 files changed, 0 insertions, 0 deletions