Author: akhaldi
Date: Sun Jun 27 21:37:42 2010
New Revision: 47879
URL:
http://svn.reactos.org/svn/reactos?rev=47879&view=rev
Log:
Fix a warning (treated as an error).
Modified:
trunk/reactos/subsystems/win32/csrss/win32csr/harderror.c
Modified: trunk/reactos/subsystems/win32/csrss/win32csr/harderror.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/csrss/win…
==============================================================================
--- trunk/reactos/subsystems/win32/csrss/win32csr/harderror.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/csrss/win32csr/harderror.c [iso-8859-1] Sun Jun 27
21:37:42 2010
@@ -251,7 +251,7 @@
}
else
{
- RtlInitAnsiString(&FormatA, MessageResource->Text);
+ RtlInitAnsiString(&FormatA, (PCHAR)MessageResource->Text);
RtlAnsiStringToUnicodeString(&FormatU, &FormatA, TRUE);
}
}
@@ -355,7 +355,7 @@
}
else
{
- RtlInitAnsiString(&FormatA, MessageResource->Text);
+ RtlInitAnsiString(&FormatA, (PCHAR)MessageResource->Text);
RtlAnsiStringToUnicodeString(&FormatU, &FormatA, TRUE);
}
FormatString = FormatU.Buffer;