diff options
author | Ron Yorston <rmy@pobox.com> | 2019-05-27 11:56:52 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2019-05-27 11:56:52 +0100 |
commit | a61949401890cbb33a9d6c4571b51c53460ad438 (patch) | |
tree | 64dedaddb89896d5b1670a421af123670ca2120b /shell/math.h | |
parent | 03a7b173605a890e1db5177ecd5b8dd591081c41 (diff) | |
parent | bcb1fc3e6ca6fe902610f507eaf9b0b58a5c583a (diff) | |
download | busybox-w32-a61949401890cbb33a9d6c4571b51c53460ad438.tar.gz busybox-w32-a61949401890cbb33a9d6c4571b51c53460ad438.tar.bz2 busybox-w32-a61949401890cbb33a9d6c4571b51c53460ad438.zip |
Merge branch 'busybox' into merge
Diffstat (limited to 'shell/math.h')
-rw-r--r-- | shell/math.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/shell/math.h b/shell/math.h index 90eb49144..a3fe51b6b 100644 --- a/shell/math.h +++ b/shell/math.h | |||
@@ -66,11 +66,9 @@ PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN | |||
66 | #if ENABLE_FEATURE_SH_MATH_64 | 66 | #if ENABLE_FEATURE_SH_MATH_64 |
67 | typedef long long arith_t; | 67 | typedef long long arith_t; |
68 | #define ARITH_FMT "%"LL_FMT"d" | 68 | #define ARITH_FMT "%"LL_FMT"d" |
69 | #define strto_arith_t strtoull | ||
70 | #else | 69 | #else |
71 | typedef long arith_t; | 70 | typedef long arith_t; |
72 | #define ARITH_FMT "%ld" | 71 | # define ARITH_FMT "%ld" |
73 | #define strto_arith_t strtoul | ||
74 | #endif | 72 | #endif |
75 | 73 | ||
76 | typedef const char* FAST_FUNC (*arith_var_lookup_t)(const char *name); | 74 | typedef const char* FAST_FUNC (*arith_var_lookup_t)(const char *name); |