summaryrefslogtreecommitdiff
path: root/tests/basics/class_notimpl.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2019-12-22 22:16:32 +1100
committerDamien George <damien.p.george@gmail.com>2019-12-23 00:07:03 +1100
commited2be79b4930f620083256fcb5b4faf9091c9ffc (patch)
tree321ef88e7ebba6a55b744ec377f444e8c4e1bb00 /tests/basics/class_notimpl.py
parent300eb65ae75857b247fc39fbe677f6e28a7a259d (diff)
extmod/uzlib: Explicitly cast ptr-diff-expr to unsigned.
The struct member "dest" should never be less than "destStart", so their difference is never negative. Cast as such to make the comparison explicitly unsigned, ensuring the compiler produces the correct comparison instruction, and avoiding any compiler warnings.
Diffstat (limited to 'tests/basics/class_notimpl.py')
0 files changed, 0 insertions, 0 deletions