summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)