Mikołaj Zalewski : kernel32: Prevent truncating characters to 8 bits in FormatMessageW.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue May 30 13:07:30 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: 2c86775d91695b99d9364b35a0387c9956156c77
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=2c86775d91695b99d9364b35a0387c9956156c77
Author: Mikołaj Zalewski <mikolaj at zalewski.pl>
Date: Tue May 30 14:13:51 2006 +0200
kernel32: Prevent truncating characters to 8 bits in FormatMessageW.
---
dlls/kernel/format_msg.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/kernel/format_msg.c b/dlls/kernel/format_msg.c
index 3426e25..375c5da 100644
--- a/dlls/kernel/format_msg.c
+++ b/dlls/kernel/format_msg.c
@@ -362,7 +362,7 @@ #if defined(__i386__) || defined(__sparc
LPWSTR from,f;
DWORD width = dwFlags & FORMAT_MESSAGE_MAX_WIDTH_MASK;
BOOL eos = FALSE;
- CHAR ch;
+ WCHAR ch;
TRACE("(0x%lx,%p,%ld,0x%lx,%p,%ld,%p)\n",
dwFlags,lpSource,dwMessageId,dwLanguageId,lpBuffer,nSize,args);
More information about the wine-cvs
mailing list