internalNameBuilder(): Fixed missing REACTOS_UCS2() wrapper
authorshort <>
Tue, 8 Apr 2003 17:42:04 +0000 (17:42 +0000)
committershort <>
Tue, 8 Apr 2003 17:42:04 +0000 (17:42 +0000)
ntoskrnl/ob/ntobj.c

index 163fd4e..cb3fda8 100644 (file)
@@ -57,7 +57,7 @@ PUNICODE_STRING string)
        }
        if (ObjectHeader->Name.Buffer)
        {
-               status = RtlAppendUnicodeToString(string, L"\\");
+               status = RtlAppendUnicodeToString(string, REACTOS_UCS2(L"\\"));
                if (status != STATUS_SUCCESS) return status;
                return RtlAppendUnicodeStringToString(string, &ObjectHeader->Name);
        }