diff options
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); |