Fixed missing REACTOS_UCS2 captive wchar_t string wrapper
[reactos.git] / ntoskrnl / nt / ntevent.c
index f5bf6da..09e1ad8 100644 (file)
@@ -73,7 +73,7 @@ NtInitializeEventImplementation(VOID)
 {
    ExEventObjectType = ExAllocatePool(NonPagedPool,sizeof(OBJECT_TYPE));
    
-   RtlCreateUnicodeString(&ExEventObjectType->TypeName, L"Event");
+   RtlCreateUnicodeString(&ExEventObjectType->TypeName, REACTOS_UCS2(L"Event"));
    
    ExEventObjectType->Tag = TAG('E', 'V', 'T', 'T');
    ExEventObjectType->MaxObjects = ULONG_MAX;