Module: wine Branch: master Commit: 2c6cc0be468d8668043ed414218aa020226f8905 URL: http://source.winehq.org/git/wine.git/?a=commit;h=2c6cc0be468d8668043ed41421...
Author: Nikolay Sivov nsivov@codeweavers.com Date: Mon Sep 22 19:22:27 2014 +0400
dwrite: Use proper type for return value.
---
dlls/dwrite/analyzer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/dwrite/analyzer.c b/dlls/dwrite/analyzer.c index 740b61e..bec0235 100644 --- a/dlls/dwrite/analyzer.c +++ b/dlls/dwrite/analyzer.c @@ -381,7 +381,7 @@ static inline void set_break_condition(UINT32 pos, enum BreakConditionLocation l } }
-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)]; }