Author: hbelusca
Date: Sat Jul 11 00:29:01 2015
New Revision: 68387
URL:
http://svn.reactos.org/svn/reactos?rev=68387&view=rev
Log:
[KERNEL32]: Fix GCC build.
Modified:
trunk/reactos/dll/win32/kernel32/client/file/filename.c
Modified: trunk/reactos/dll/win32/kernel32/client/file/filename.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/client/…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/client/file/filename.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/client/file/filename.c [iso-8859-1] Sat Jul 11
00:29:01 2015
@@ -86,10 +86,10 @@
IN UINT uUnique,
OUT LPWSTR lpTempFileName)
{
- CHAR * Let;
+ PUCHAR Let;
HANDLE TempFile;
UINT ID, Num = 0;
- CHAR IDString[5];
+ UCHAR IDString[5];
WCHAR * TempFileName;
BASE_API_MESSAGE ApiMessage;
PBASE_GET_TEMP_FILE GetTempFile = &ApiMessage.Data.GetTempFileRequest;
@@ -176,7 +176,7 @@
}
/* Convert that ID to wchar */
- RtlIntegerToChar(ID, 0x10, sizeof(IDString), IDString);
+ RtlIntegerToChar(ID, 0x10, sizeof(IDString), (PCHAR)IDString);
Let = IDString;
do
{