diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2011-02-08 21:42:25 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2011-02-08 21:42:25 +0100 |
commit | 3dbd5e3564320b1cb575f4b950df19dec89b7383 (patch) | |
tree | b555d5de9102d0396ce853c5d9d63e5bef4e4dd5 /src/core | |
parent | 1fd31361da364540f56f09fcdf818255d80e6a4c (diff) | |
download | weechat-3dbd5e3564320b1cb575f4b950df19dec89b7383.zip |
Add missing parentheses
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/wee-utf8.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/wee-utf8.c b/src/core/wee-utf8.c index d4cacd0db..bb4c6ac54 100644 --- a/src/core/wee-utf8.c +++ b/src/core/wee-utf8.c @@ -267,7 +267,7 @@ utf8_char_int (const char *string) else if ((ptr_string[0] & 0xF8) == 0xF0) { if (!ptr_string[1]) - return (int)ptr_string[0] & 0x07; + return (int)(ptr_string[0] & 0x07); if (!ptr_string[2]) return (((int)(ptr_string[0] & 0x07)) << 6) + ((int)(ptr_string[1] & 0x3F)); |