diff options
author | Damien George <damien.p.george@gmail.com> | 2017-07-04 02:11:46 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-07-04 02:11:46 +1000 |
commit | 9aeba3e41b70558e3d78f1a19a88e3eafc7bd794 (patch) | |
tree | 7902e7bd149f6acd8c6b27825e68bb41bed37bfc | |
parent | 80b31dc0972eca3f67dd2be7518b133e316e8f32 (diff) | |
download | micropython-9aeba3e41b70558e3d78f1a19a88e3eafc7bd794.tar.gz micropython-9aeba3e41b70558e3d78f1a19a88e3eafc7bd794.zip |
py/binary: Add missing "break" statements.
-rw-r--r-- | py/binary.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/py/binary.c b/py/binary.c index 34feb384ea..4a999b9aab 100644 --- a/py/binary.c +++ b/py/binary.c @@ -368,6 +368,7 @@ void mp_binary_set_val_array_from_int(char typecode, void *p, mp_uint_t index, m #if MICROPY_LONGINT_IMPL != MICROPY_LONGINT_IMPL_NONE case 'q': ((long long*)p)[index] = val; + break; case 'Q': ((unsigned long long*)p)[index] = val; break; @@ -383,5 +384,6 @@ void mp_binary_set_val_array_from_int(char typecode, void *p, mp_uint_t index, m // Extension to CPython: array of pointers case 'P': ((void**)p)[index] = (void*)(uintptr_t)val; + break; } } |