Nikolay Sivov : dwrite: Use proper type for return value.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Sep 22 15:01:13 CDT 2014


Module: wine
Branch: master
Commit: 2c6cc0be468d8668043ed414218aa020226f8905
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2c6cc0be468d8668043ed414218aa020226f8905

Author: Nikolay Sivov <nsivov at 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)];
 }




More information about the wine-cvs mailing list