Francois Gouget : fusion: Avoid hardcoding the Unicode string literal lengths.
Alexandre Julliard
julliard at winehq.org
Fri Dec 16 11:22:55 CST 2011
Module: wine
Branch: master
Commit: 598c095329eeb9c57aa055a33900df5f9ed0612d
URL: http://source.winehq.org/git/wine.git/?a=commit;h=598c095329eeb9c57aa055a33900df5f9ed0612d
Author: Francois Gouget <fgouget at free.fr>
Date: Fri Dec 16 13:08:38 2011 +0100
fusion: Avoid hardcoding the Unicode string literal lengths.
---
dlls/fusion/fusionpriv.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/fusion/fusionpriv.h b/dlls/fusion/fusionpriv.h
index aecb026..8d51f5d 100644
--- a/dlls/fusion/fusionpriv.h
+++ b/dlls/fusion/fusionpriv.h
@@ -461,7 +461,7 @@ static inline void token_to_str(BYTE *bytes, LPWSTR str)
{
DWORD i;
- static const WCHAR hexval[16] = {
+ static const WCHAR hexval[] = {
'0','1','2','3','4','5','6','7','8','9','a','b','c','d','e','f'
};
More information about the wine-cvs
mailing list