summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2024-01-31 20:30:32 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2024-02-01 16:42:09 +0900
commit8ba8e979c8b8a71dcc308c392bcead38af5306c7 (patch)
tree7bf781fd0b0ea9dcd16206741c55f384ca17072b /internal
parenta7b47f96f3f8ac3734c11c0338e683940995df96 (diff)
Parenthesize casted argument
Diffstat (limited to 'internal')
-rw-r--r--internal/imemo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/imemo.h b/internal/imemo.h
index 22dc457194..68e7e9569a 100644
--- a/internal/imemo.h
+++ b/internal/imemo.h
@@ -171,7 +171,7 @@ imemo_type_p(VALUE imemo, enum imemo_type imemo_type)
}
}
-#define IMEMO_TYPE_P(v, t) imemo_type_p((VALUE)v, t)
+#define IMEMO_TYPE_P(v, t) imemo_type_p((VALUE)(v), t)
static inline bool
imemo_throw_data_p(VALUE imemo)