- Fix warnings
[reactos.git] / reactos / subsys / system / format / format.c
index 89c1062..aabd928 100755 (executable)
@@ -63,7 +63,7 @@ static VOID PrintWin32Error( LPTSTR Message, DWORD ErrorCode )
                                        MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
                                        (LPTSTR)&lpMsgBuf, 0, NULL );
 
-       _tprintf(_T("%S: %S\n"), Message, lpMsgBuf );
+       _tprintf(_T("%S: %S\n"), (LPWSTR)Message, (LPWSTR)lpMsgBuf );
        LocalFree( lpMsgBuf );
 }