case TO_BOOL_ALWAYS_TRUE: {
PyObject *value = stack_pointer[-1];
PyObject *res;
- uint32_t version = operand;
+ uint32_t version = (uint32_t)operand;
#line 359 "Python/bytecodes.c"
// This one is a bit weird, because we expect *some* failures:
assert(version);
f"{typ}{ceffect.name} = {func}(&next_instr[{active.offset}].cache);"
)
else:
- out.emit(f"{typ}{ceffect.name} = operand;")
+ out.emit(f"{typ}{ceffect.name} = ({typ.strip()})operand;")
# Write the body, substituting a goto for ERROR_IF() and other stuff
assert dedent <= 0