aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell/math.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/math.c b/shell/math.c
index e7565ebf2..006221b6a 100644
--- a/shell/math.c
+++ b/shell/math.c
@@ -423,7 +423,7 @@ arith_apply(arith_state_t *math_state, operator op, var_or_num_t *numstack, var_
423 * MAX_NEGATIVE_INT / -1 = MAX_POSITIVE_INT+1 423 * MAX_NEGATIVE_INT / -1 = MAX_POSITIVE_INT+1
424 * and thus is not representable. 424 * and thus is not representable.
425 * Some CPUs segfault trying such op. 425 * Some CPUs segfault trying such op.
426 * Others overfolw MAX_POSITIVE_INT+1 to 426 * Others overflow MAX_POSITIVE_INT+1 to
427 * MAX_NEGATIVE_INT (0x7fff+1 = 0x8000). 427 * MAX_NEGATIVE_INT (0x7fff+1 = 0x8000).
428 * Make sure to at least not SEGV here: 428 * Make sure to at least not SEGV here:
429 */ 429 */