mirror of
https://github.com/reactos/reactos.git
synced 2024-08-21 10:53:15 +00:00
Fix a warning (treated as an error).
svn path=/trunk/; revision=47879
This commit is contained in:
parent
12d80eeec0
commit
b3d42ba099
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue