diff options
author | Damien George <damien.p.george@gmail.com> | 2016-04-26 09:51:37 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-04-26 09:51:37 +0100 |
commit | 2bddfd492255d03a695a1e7488de3fba80b8e5ab (patch) | |
tree | a4945b6e752668daae84665313796158d0f3cee5 /tests/extmod/ure_split_empty.py.exp | |
parent | 237c519ac43060d766a611f30d9aa39dc277cd16 (diff) | |
download | micropython-2bddfd492255d03a695a1e7488de3fba80b8e5ab.tar.gz micropython-2bddfd492255d03a695a1e7488de3fba80b8e5ab.zip |
py/obj.h: When constructing a small-int cast to mp_uint_t for bit-shift.
The C standard says that left-shifting a signed value (on the LHS of the
operator) is undefined. So we cast to an unsigned integer before the
shift. gcc does not issue a warning about this, but clang does.
Diffstat (limited to 'tests/extmod/ure_split_empty.py.exp')
0 files changed, 0 insertions, 0 deletions