From ca5772086f5001e00d6e679adcd0998c56590630 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Sat, 17 Jun 2023 13:19:31 +0800 Subject: [PATCH] ... --- src/ceval.h | 2 +- src/vector.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/ceval.h b/src/ceval.h index f30c411f..7b321c72 100644 --- a/src/ceval.h +++ b/src/ceval.h @@ -445,7 +445,7 @@ __NEXT_STEP:; _0 = call_method(TOP(), __contains__, SECOND()); } POP(); - TOP() = VAR(static_cast(CAST(bool, _0) ^ byte.arg)); + TOP() = VAR(static_cast((int)CAST(bool, _0) ^ byte.arg)); DISPATCH(); /*****************************************/ TARGET(JUMP_ABSOLUTE) diff --git a/src/vector.h b/src/vector.h index 83658ed7..3ddac26b 100644 --- a/src/vector.h +++ b/src/vector.h @@ -141,6 +141,4 @@ public: Container& data() { return vec; } }; -// template -// using pod_stack = stack>; } // namespace pkpy \ No newline at end of file