diff options
author | Kirill Podoprigora <kirill.bast9@mail.ru> | 2023-06-30 22:11:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-30 12:11:10 -0700 |
commit | 2062e115017d8c33e74ba14adef2a255c344f747 (patch) | |
tree | f9f3f123ee7f7f5c41cacc4d35e788ec18cd7851 /Python/executor_cases.c.h | |
parent | 02ce3d56e6d230768853757109e7ca6425a6a600 (diff) | |
download | cpython-2062e115017d8c33e74ba14adef2a255c344f747.tar.gz cpython-2062e115017d8c33e74ba14adef2a255c344f747.zip |
gh-106267: Add type cast to generated code (#106289)
Diffstat (limited to 'Python/executor_cases.c.h')
-rw-r--r-- | Python/executor_cases.c.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/executor_cases.c.h b/Python/executor_cases.c.h index ccef2736b71..546b3d9f50a 100644 --- a/Python/executor_cases.c.h +++ b/Python/executor_cases.c.h @@ -187,7 +187,7 @@ 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); |