diff options
author | Damien George <damien.p.george@gmail.com> | 2019-01-25 16:03:05 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-01-25 16:03:05 +1100 |
commit | 5089b3ffb6dbaacdd99176b0ed4ff0aeeddca4d1 (patch) | |
tree | 2c5f87376452245ae25d34b53b112974ff5f0c08 /docs/conf.py | |
parent | acd647100b0fb02aab32500c4a3ffd0faceae7e8 (diff) |
py/obj.h: Explicitly cast args to uint32_t in MP_OBJ_FUN_MAKE_SIG.
For architectures where size_t is less than 32 bits (eg 16 bits) the args
must be casted to uint32_t so the left shift will work. For architectures
where size_t is greater than 32 bits (eg 64 bits) this new casting will not
lose any bits because the end result must anyway fit in a uint32_t.
Diffstat (limited to 'docs/conf.py')
0 files changed, 0 insertions, 0 deletions