Fix compiler errors. Patch by Herve Poussineau. Fixes bug 478

svn path=/trunk/; revision=13267
This commit is contained in:
Alex Ionescu 2005-01-25 05:11:17 +00:00
parent dcee180336
commit c0441b0e5f
20 changed files with 87 additions and 96 deletions

View file

@ -1,4 +1,4 @@
/* $Id: win32err.c,v 1.1 1999/05/16 07:27:35 ea Exp $
/* $Id$
*
* win32err.c
*
@ -47,14 +47,14 @@ PrintWin32Error(
DWORD ErrorCode
)
{
LPVOID lpMsgBuf;
PVOID lpMsgBuf;
FormatMessageW(
(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM),
NULL,
ErrorCode,
MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
(PWCHAR) & lpMsgBuf,
(LPWSTR)& lpMsgBuf,
0,
NULL
);