diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2021-06-24 16:07:45 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2021-06-25 17:48:49 +0200 |
commit | a32b5a9c793e4f4a4577837b73e783386842db02 (patch) | |
tree | 314f42e3302a33a7d3da80689862bc6e1bce179c /lib/tar/number.c | |
parent | 3f887a1acc6129210d1ad4a484842bd411a85c7a (diff) |
Remove casual un-const casting in various places
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/tar/number.c')
-rw-r--r-- | lib/tar/number.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tar/number.c b/lib/tar/number.c index 06d5317..50cb658 100644 --- a/lib/tar/number.c +++ b/lib/tar/number.c @@ -69,7 +69,7 @@ fail_ov: int read_number(const char *str, int digits, sqfs_u64 *out) { - if (*((unsigned char *)str) & 0x80) + if (*((const unsigned char *)str) & 0x80) return read_binary(str, digits, out); return read_octal(str, digits, out); |