diff options
author | Georgi Kodinov <joro@sun.com> | 2009-06-05 18:14:56 +0300 |
---|---|---|
committer | Georgi Kodinov <joro@sun.com> | 2009-06-05 18:14:56 +0300 |
commit | dd570869f483e5ce6dcd45f3b77e69df585c814a (patch) | |
tree | a7ea481953e3f4cb28070fdc02e04ed7e71318d0 /cmd-line-utils/readline/display.c | |
parent | 22454390c0ce1c3f90059811548a71ee18cac4f3 (diff) | |
download | mariadb-git-dd570869f483e5ce6dcd45f3b77e69df585c814a.tar.gz |
Bug #45286: compilation warnings on mysql-5.0-bugteam on MacOSX
Implemented a way to circumvent the always true comparison by
having nested macros (as suggested on review).
Diffstat (limited to 'cmd-line-utils/readline/display.c')
-rw-r--r-- | cmd-line-utils/readline/display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-line-utils/readline/display.c b/cmd-line-utils/readline/display.c index 54c56954f43..842a586b76b 100644 --- a/cmd-line-utils/readline/display.c +++ b/cmd-line-utils/readline/display.c @@ -1888,7 +1888,7 @@ rl_character_len (c, pos) uc = (unsigned char)c; - if (META_CHAR (c)) + if (META_BYTE (uc)) return ((_rl_output_meta_chars == 0) ? 4 : 1); if (uc == '\t') |