• Damien George's avatar
    py/obj.h: Explicitly cast args to uint32_t in MP_OBJ_FUN_MAKE_SIG. · 5089b3ff
    Damien George authored
    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.
    5089b3ff
obj.h 38.1 KB