From 2c6cc0be468d8668043ed414218aa020226f8905 Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Mon, 22 Sep 2014 19:22:27 +0400 Subject: [PATCH] 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 740b61edfc8..bec0235c7a6 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)]; }