summaryrefslogtreecommitdiff
path: root/ext/readline
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-03-23 12:09:57 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-03-23 12:09:57 +0000
commita3f70766909a96eb7c43b12f78a1779fef544d5d (patch)
tree7b84802ae73b59840e5a52b08f80988a6fe08c67 /ext/readline
parent9b66922d7f7a231724090de9a8037f4e944b1764 (diff)
* ext/readline/readline.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/readline')
-rw-r--r--ext/readline/readline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/readline/readline.c b/ext/readline/readline.c
index 8236d5a..a313271 100644
--- a/ext/readline/readline.c
+++ b/ext/readline/readline.c
@@ -75,7 +75,7 @@ static char **readline_attempted_completion_function(const char *text,
#define OutputStringValue(str) do {\
SafeStringValue(str);\
- str = rb_str_conv_enc(str, rb_enc_get(str), rb_locale_encoding());\
+ (str) = rb_str_conv_enc((str), rb_enc_get(str), rb_locale_encoding());\
} while (0)\