summaryrefslogtreecommitdiff
path: root/marshal.c
diff options
context:
space:
mode:
Diffstat (limited to 'marshal.c')
-rw-r--r--marshal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/marshal.c b/marshal.c
index 0f746d9805..c5327fca60 100644
--- a/marshal.c
+++ b/marshal.c
@@ -1456,7 +1456,7 @@ symname_equal(VALUE sym, const char *name, size_t nlen)
}
#define BUILD_ASSERT_POSITIVE(n) \
- /* make 0 negative to workaround the "zero size array" GCC extention, */ \
+ /* make 0 negative to workaround the "zero size array" GCC extension, */ \
((sizeof(char [2*(ssize_t)(n)-1])+1)/2) /* assuming no overflow */
#define symname_equal_lit(sym, sym_name) \
symname_equal(sym, sym_name, BUILD_ASSERT_POSITIVE(rb_strlen_lit(sym_name)))