diff options
Diffstat (limited to 'shell/math.c')
-rw-r--r-- | shell/math.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/math.c b/shell/math.c index 6784eeeb0..0b30e089d 100644 --- a/shell/math.c +++ b/shell/math.c | |||
@@ -706,7 +706,7 @@ evaluate_string(arith_state_t *math_state, const char *expr) | |||
706 | char *end; | 706 | char *end; |
707 | numstackptr->var_name = NULL; | 707 | numstackptr->var_name = NULL; |
708 | errno = 0; | 708 | errno = 0; |
709 | end = (char*) expr; /* separate variable to go on stack */ | 709 | /* code is smaller compared to using &expr here: */ |
710 | numstackptr->val = strto_arith_t(expr, &end); | 710 | numstackptr->val = strto_arith_t(expr, &end); |
711 | expr = end; | 711 | expr = end; |
712 | dbg("[%d] val:%lld", (int)(numstackptr - numstack), numstackptr->val); | 712 | dbg("[%d] val:%lld", (int)(numstackptr - numstack), numstackptr->val); |