mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 04:30:24 +01:00
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.
38 KiB
38 KiB