fixed signedness warning
Modified: trunk/reactos/lib/rtl/unicode.c
--- trunk/reactos/lib/rtl/unicode.c 2005-09-23 09:51:18 UTC (rev 18009) +++ trunk/reactos/lib/rtl/unicode.c 2005-09-23 11:12:18 UTC (rev 18010) @@ -32,19 +32,19 @@
{ ULONG Size; NTSTATUS Status;
- WCHAR UnicodeChar = 0x20;
+ WCHAR UnicodeChar = L' ';
Size = (NlsLeadByteInfo[**AnsiChar] == 0) ? 1 : 2; Status = RtlMultiByteToUnicodeN(&UnicodeChar, sizeof(WCHAR), NULL,
- *AnsiChar,
+ (PCHAR)*AnsiChar,
Size); if (!NT_SUCCESS(Status)) {
- UnicodeChar = 0x20;
+ UnicodeChar = L' ';
} *AnsiChar += Size;