Module: wine Branch: master Commit: e65307f29f18fff724d2630e6263169a5a4d9f46 URL: http://source.winehq.org/git/wine.git/?a=commit;h=e65307f29f18fff724d2630e62...
Author: Nikolay Sivov nsivov@codeweavers.com Date: Mon Sep 22 19:21:47 2014 +0400
usp10: Use proper type for return value.
---
dlls/usp10/usp10_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/usp10/usp10_internal.h b/dlls/usp10/usp10_internal.h index 77bb20d..504bd55 100644 --- a/dlls/usp10/usp10_internal.h +++ b/dlls/usp10/usp10_internal.h @@ -208,7 +208,7 @@ static inline BOOL is_consonant( int type ) return (type == lex_Ra || type == lex_Consonant); }
-static inline WCHAR get_table_entry( const unsigned short *table, WCHAR ch ) +static inline unsigned short get_table_entry( const unsigned short *table, WCHAR ch ) { return table[table[table[ch >> 8] + ((ch >> 4) & 0x0f)] + (ch & 0xf)]; }