From 783ad89ca85db10dda7201a16466f52618031831 Mon Sep 17 00:00:00 2001 From: kichik Date: Tue, 30 Jan 2007 18:50:57 +0000 Subject: [PATCH] winchar_toansi requires WCHAR* not WORD* git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4914 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/DialogTemplate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/DialogTemplate.cpp b/Source/DialogTemplate.cpp index c1c88551..b4a500cb 100644 --- a/Source/DialogTemplate.cpp +++ b/Source/DialogTemplate.cpp @@ -59,7 +59,7 @@ void ReadVarLenArr(LPBYTE &seeker, char* &readInto, unsigned int uCodePage) { break; default: { - readInto = winchar_toansi(arr, uCodePage); + readInto = winchar_toansi((WCHAR *) arr, uCodePage); PWCHAR wseeker = PWCHAR(seeker); while (*wseeker++); seeker = LPBYTE(wseeker);