Skip to content

Commit 946b1c1

Browse files
committed
Move parentheses around macro arguments
1 parent 1852ef4 commit 946b1c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/error.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ PRINTF_ARGS(void rb_warn_deprecated_to_remove(const char *removal, const char *f
7575
PRINTF_ARGS(void rb_warn_reserved_name(const char *removal, const char *fmt, ...), 2, 3);
7676
#if RUBY_DEBUG
7777
# include "ruby/version.h"
78-
# define RUBY_VERSION_SINCE(major, minor) (RUBY_API_VERSION_CODE >= (major * 10000) + (minor) * 100)
79-
# define RUBY_VERSION_BEFORE(major, minor) (RUBY_API_VERSION_CODE < (major * 10000) + (minor) * 100)
78+
# define RUBY_VERSION_SINCE(major, minor) (RUBY_API_VERSION_CODE >= (major) * 10000 + (minor) * 100)
79+
# define RUBY_VERSION_BEFORE(major, minor) (RUBY_API_VERSION_CODE < (major) * 10000 + (minor) * 100)
8080
# if defined(RBIMPL_WARNING_PRAGMA0)
8181
# define RBIMPL_TODO0(x) RBIMPL_WARNING_PRAGMA0(message(x))
8282
# elif RBIMPL_COMPILER_IS(MSVC)

0 commit comments

Comments
 (0)