diff options
author | Damien George <damien@micropython.org> | 2023-03-08 14:10:02 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2023-04-27 18:03:06 +1000 |
commit | b1229efbd1509654dec6053865ab828d769e29db (patch) | |
tree | e1a65606dd1f0a8cfe2af08f9c4ff821fb575b02 /py/runtime.c | |
parent | e160fe7bc64212a3ce56f5478f208e2b4d343a8b (diff) |
all: Fix spelling mistakes based on codespell check.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py/runtime.c')
-rw-r--r-- | py/runtime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/runtime.c b/py/runtime.c index 23fae6041..3c7c0350c 100644 --- a/py/runtime.c +++ b/py/runtime.c @@ -450,7 +450,7 @@ mp_obj_t MICROPY_WRAP_MP_BINARY_OP(mp_binary_op)(mp_binary_op_t op, mp_obj_t lhs } else { // standard precision is enough for right-shift if (rhs_val >= (mp_int_t)(sizeof(lhs_val) * MP_BITS_PER_BYTE)) { - // Shifting to big amounts is underfined behavior + // Shifting to big amounts is undefined behavior // in C and is CPU-dependent; propagate sign bit. rhs_val = sizeof(lhs_val) * MP_BITS_PER_BYTE - 1; } |