diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-02-04 10:14:53 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-02-04 10:14:53 +0000 |
commit | 113de0083e58282e1a411e8364951c98c3dddaaf (patch) | |
tree | 37f294d5262ad6bfe1d9868756a2a77820173720 /enc/trans | |
parent | e0d1e2453b35f4b8ed4d57fd0205538fec3babb6 (diff) |
* enc/trans/utf8_mac.trans: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enc/trans')
-rw-r--r-- | enc/trans/utf8_mac.trans | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/enc/trans/utf8_mac.trans b/enc/trans/utf8_mac.trans index 0d69dba46a..8ea0afd73f 100644 --- a/enc/trans/utf8_mac.trans +++ b/enc/trans/utf8_mac.trans @@ -52,7 +52,7 @@ struct from_utf8_mac_status { int end; int len; }; -#define buf_length(sp) (sp->len) +#define buf_length(sp) ((sp)->len) int buf_bytesize(struct from_utf8_mac_status *sp) |