From 832cfa1af730d701104d4e547261bab0c26302d2 Mon Sep 17 00:00:00 2001 From: Magnus Olsen Date: Sun, 1 May 2005 18:23:08 +0000 Subject: [PATCH] Fix so it can compile agein svn path=/trunk/; revision=14918 --- reactos/subsys/ntvdm/ntvdm.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/reactos/subsys/ntvdm/ntvdm.c b/reactos/subsys/ntvdm/ntvdm.c index 44f7a1a2876..84e9abf0802 100644 --- a/reactos/subsys/ntvdm/ntvdm.c +++ b/reactos/subsys/ntvdm/ntvdm.c @@ -276,12 +276,12 @@ WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nSho ULONG i; BOOL vdmStarted = FALSE; - TCHAR WelcomeMsg[RC_STRING_MAX_SIZE]; - TCHAR PromptMsg[RC_STRING_MAX_SIZE]; + WCHAR WelcomeMsg[RC_STRING_MAX_SIZE]; + WCHAR PromptMsg[RC_STRING_MAX_SIZE]; CHAR InputBuffer[255]; - LoadString( GetModuleHandle(NULL), STRING_WelcomeMsg, WelcomeMsg,sizeof(WelcomeMsg)); - LoadString( GetModuleHandle(NULL), STRING_PromptMsg, PromptMsg ,sizeof(PromptMsg)); + LoadString( GetModuleHandle(NULL), STRING_WelcomeMsg, (LPTSTR) WelcomeMsg,sizeof(WelcomeMsg)); + LoadString( GetModuleHandle(NULL), STRING_PromptMsg, (LPTSTR) PromptMsg ,sizeof(PromptMsg)); AllocConsole(); SetConsoleTitleW(L"ntvdm");