From 8ba8e979c8b8a71dcc308c392bcead38af5306c7 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Wed, 31 Jan 2024 20:30:32 +0900 Subject: Parenthesize casted argument --- internal/imemo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3