From beaf05f6c1400cc285b9900c4cf7d4d161f7bac7 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Sun, 17 Mar 2024 16:45:20 +0800 Subject: [PATCH] some fix --- src/ceval.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ceval.cpp b/src/ceval.cpp index 3404e09d..f826bbfa 100644 --- a/src/ceval.cpp +++ b/src/ceval.cpp @@ -10,7 +10,7 @@ namespace pkpy{ #define PREDICT_INT_DIV_OP(op) \ if(is_small_int(_0) && is_small_int(_1)){ \ - if(_1 == 0b10) ZeroDivisionError(); \ + if(_1 == reinterpret_cast(0b10)) ZeroDivisionError(); \ TOP() = VAR((i64)(PK_BITS(_0)>>2) op (i64)(PK_BITS(_1)>>2)); \ DISPATCH() \ }