Fix a warning (treated as an error).
authorAmine Khaldi <amine.khaldi@reactos.org>
Sun, 27 Jun 2010 21:37:42 +0000 (21:37 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sun, 27 Jun 2010 21:37:42 +0000 (21:37 +0000)
svn path=/trunk/; revision=47879

reactos/subsystems/win32/csrss/win32csr/harderror.c

index f6483e6..55973e6 100644 (file)
@@ -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;