Nikolay Sivov : dwrite: Fix compiler warning regarding unsigned type of enum member.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Nov 5 08:59:37 CST 2014
Module: wine
Branch: master
Commit: 16aa4f1faa3757ff51a543ce8b0d9b0ad45a3a37
URL: http://source.winehq.org/git/wine.git/?a=commit;h=16aa4f1faa3757ff51a543ce8b0d9b0ad45a3a37
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Tue Nov 4 18:50:57 2014 +0300
dwrite: Fix compiler warning regarding unsigned type of enum member.
---
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 46cf3b5..82e9fa5 100644
--- a/dlls/dwrite/analyzer.c
+++ b/dlls/dwrite/analyzer.c
@@ -1223,7 +1223,7 @@ HRESULT create_numbersubstitution(DWRITE_NUMBER_SUBSTITUTION_METHOD method, cons
*ret = NULL;
- if (method < DWRITE_NUMBER_SUBSTITUTION_METHOD_FROM_CULTURE || method > DWRITE_NUMBER_SUBSTITUTION_METHOD_TRADITIONAL)
+ if ((UINT32)method > DWRITE_NUMBER_SUBSTITUTION_METHOD_TRADITIONAL)
return E_INVALIDARG;
if (method != DWRITE_NUMBER_SUBSTITUTION_METHOD_NONE && !IsValidLocaleName(locale))
More information about the wine-cvs
mailing list