diff --git a/src/compile.cpp b/src/compile.cpp index aeb5e3722b..f224d9f5e1 100644 --- a/src/compile.cpp +++ b/src/compile.cpp @@ -2934,7 +2934,7 @@ bool intrinsic(MyThread* t, Frame* frame, object target) { #define MATCH(name, constant) \ - (byteArrayLength(t, name) - 1 == sizeof(constant) \ + (byteArrayLength(t, name) == sizeof(constant) \ and strcmp(reinterpret_cast(&byteArrayBody(t, name, 0)), \ constant) == 0)