diff --git a/reactos/dll/win32/advapi32/sec/sid.c b/reactos/dll/win32/advapi32/sec/sid.c index 6b38fc573e4..7154c0bc8b5 100644 --- a/reactos/dll/win32/advapi32/sec/sid.c +++ b/reactos/dll/win32/advapi32/sec/sid.c @@ -1111,7 +1111,7 @@ IsWellKnownSid(IN PSID pSid, for (i = 0; i < sizeof(WellKnownSids)/sizeof(WellKnownSids[0]); i++) if (WellKnownSids[i].Type == WellKnownSidType) - if (EqualSid(pSid, (PSID)&(WellKnownSids[i].Sid.Revision))) + if (EqualSid(pSid, (PSID)((ULONG_PTR)&WellKnownSids[i].Sid.Revision))) return TRUE; return FALSE; diff --git a/reactos/dll/win32/advapi32/service/sctrl.c b/reactos/dll/win32/advapi32/service/sctrl.c index 5c4fc5d9ee6..a0e43fb0934 100644 --- a/reactos/dll/win32/advapi32/service/sctrl.c +++ b/reactos/dll/win32/advapi32/service/sctrl.c @@ -47,7 +47,7 @@ static PACTIVE_SERVICE lpActiveServices = NULL; /* FUNCTIONS *****************************************************************/ static PACTIVE_SERVICE -ScLookupServiceByServiceName(LPWSTR lpServiceName) +ScLookupServiceByServiceName(LPCWSTR lpServiceName) { DWORD i; @@ -441,7 +441,7 @@ RegisterServiceCtrlHandlerExW(LPCWSTR lpServiceName, { PACTIVE_SERVICE Service; - Service = ScLookupServiceByServiceName((LPWSTR)lpServiceName); + Service = ScLookupServiceByServiceName(lpServiceName); if (Service == NULL) { return (SERVICE_STATUS_HANDLE)NULL; diff --git a/reactos/lib/3rdparty/expat/expat.rbuild b/reactos/lib/3rdparty/expat/expat.rbuild index f43252176e0..a6ebcbd84ca 100644 --- a/reactos/lib/3rdparty/expat/expat.rbuild +++ b/reactos/lib/3rdparty/expat/expat.rbuild @@ -1,4 +1,4 @@ - + . lib include/reactos/libs/expat