From 3dbd5e3564320b1cb575f4b950df19dec89b7383 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Tue, 8 Feb 2011 21:42:25 +0100 Subject: Add missing parentheses --- src/core/wee-utf8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- cgit v1.2.3