From b3d42ba0995555a0a4986812ae314660ed766f5c Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Sun, 27 Jun 2010 21:37:42 +0000 Subject: [PATCH] Fix a warning (treated as an error). svn path=/trunk/; revision=47879 --- reactos/subsystems/win32/csrss/win32csr/harderror.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/subsystems/win32/csrss/win32csr/harderror.c b/reactos/subsystems/win32/csrss/win32csr/harderror.c index f6483e6ed8e..55973e605bc 100644 --- a/reactos/subsystems/win32/csrss/win32csr/harderror.c +++ b/reactos/subsystems/win32/csrss/win32csr/harderror.c @@ -251,7 +251,7 @@ CsrpFormatMessages( } else { - RtlInitAnsiString(&FormatA, MessageResource->Text); + RtlInitAnsiString(&FormatA, (PCHAR)MessageResource->Text); RtlAnsiStringToUnicodeString(&FormatU, &FormatA, TRUE); } } @@ -355,7 +355,7 @@ CsrpFormatMessages( } else { - RtlInitAnsiString(&FormatA, MessageResource->Text); + RtlInitAnsiString(&FormatA, (PCHAR)MessageResource->Text); RtlAnsiStringToUnicodeString(&FormatU, &FormatA, TRUE); } FormatString = FormatU.Buffer;