- Fix warnings
[reactos.git] / reactos / subsys / system / format / format.c
index 670de9f..aabd928 100755 (executable)
@@ -5,7 +5,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <windows.h>
-#include <fmifs.h>
+#include <fmifs/fmifs.h>
 #include <tchar.h>
 #include "resource.h"
 
@@ -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 );
 }