aboutsummaryrefslogtreecommitdiff
path: root/shell/math.h
diff options
context:
space:
mode:
Diffstat (limited to 'shell/math.h')
-rw-r--r--shell/math.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/shell/math.h b/shell/math.h
index a52680923..195fc20ba 100644
--- a/shell/math.h
+++ b/shell/math.h
@@ -76,13 +76,11 @@
#define _SHELL_MATH_
#if ENABLE_SH_MATH_SUPPORT_64
-typedef int64_t arith_t;
-#define arith_t_type long long
+typedef long long arith_t;
#define arith_t_fmt "%lld"
#define strto_arith_t strtoll
#else
typedef long arith_t;
-#define arith_t_type long
#define arith_t_fmt "%ld"
#define strto_arith_t strtol
#endif