From 766d38e65933951039bb395250db5c5a2232b81a Mon Sep 17 00:00:00 2001 From: akr Date: Tue, 7 Dec 2010 12:16:10 +0000 Subject: * debug.c: parenthesize macro arguments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debug.c') diff --git a/debug.c b/debug.c index 4959f922f6..dcc710bc4a 100644 --- a/debug.c +++ b/debug.c @@ -141,7 +141,7 @@ set_debug_option(const char *str, int len, void *arg) { #define SET_WHEN(name, var) do { \ if (len == sizeof(name) - 1 && \ - strncmp(str, name, len) == 0) { \ + strncmp(str, (name), len) == 0) { \ extern int var; \ var = 1; \ return; \ -- cgit v1.2.3