mirror of
https://github.com/reactos/reactos.git
synced 2024-10-02 23:46:50 +00:00
- Allow warnings in the expat library
- More fixes for GCC4.2 svn path=/trunk/; revision=25571
This commit is contained in:
parent
27c812af6e
commit
285cc65a82
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
2
reactos/lib/3rdparty/expat/expat.rbuild
vendored
2
reactos/lib/3rdparty/expat/expat.rbuild
vendored
|
@ -1,4 +1,4 @@
|
|||
<module name="expat" type="staticlibrary">
|
||||
<module name="expat" type="staticlibrary" allowwarnings="true">
|
||||
<include base="expat">.</include>
|
||||
<include base="expat">lib</include>
|
||||
<include base="ReactOS">include/reactos/libs/expat</include>
|
||||
|
|
Loading…
Reference in a new issue