summaryrefslogtreecommitdiffstatshomepage
path: root/tests/extmod/ure_split_empty.py.exp
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-04-26 09:51:37 +0100
committerDamien George <damien.p.george@gmail.com>2016-04-26 09:51:37 +0100
commit2bddfd492255d03a695a1e7488de3fba80b8e5ab (patch)
treea4945b6e752668daae84665313796158d0f3cee5 /tests/extmod/ure_split_empty.py.exp
parent237c519ac43060d766a611f30d9aa39dc277cd16 (diff)
downloadmicropython-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