mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 00:16:40 +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
3 changed files with 4 additions and 4 deletions
|
@ -1111,7 +1111,7 @@ IsWellKnownSid(IN PSID pSid,
|
||||||
|
|
||||||
for (i = 0; i < sizeof(WellKnownSids)/sizeof(WellKnownSids[0]); i++)
|
for (i = 0; i < sizeof(WellKnownSids)/sizeof(WellKnownSids[0]); i++)
|
||||||
if (WellKnownSids[i].Type == WellKnownSidType)
|
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 TRUE;
|
||||||
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
|
@ -47,7 +47,7 @@ static PACTIVE_SERVICE lpActiveServices = NULL;
|
||||||
/* FUNCTIONS *****************************************************************/
|
/* FUNCTIONS *****************************************************************/
|
||||||
|
|
||||||
static PACTIVE_SERVICE
|
static PACTIVE_SERVICE
|
||||||
ScLookupServiceByServiceName(LPWSTR lpServiceName)
|
ScLookupServiceByServiceName(LPCWSTR lpServiceName)
|
||||||
{
|
{
|
||||||
DWORD i;
|
DWORD i;
|
||||||
|
|
||||||
|
@ -441,7 +441,7 @@ RegisterServiceCtrlHandlerExW(LPCWSTR lpServiceName,
|
||||||
{
|
{
|
||||||
PACTIVE_SERVICE Service;
|
PACTIVE_SERVICE Service;
|
||||||
|
|
||||||
Service = ScLookupServiceByServiceName((LPWSTR)lpServiceName);
|
Service = ScLookupServiceByServiceName(lpServiceName);
|
||||||
if (Service == NULL)
|
if (Service == NULL)
|
||||||
{
|
{
|
||||||
return (SERVICE_STATUS_HANDLE)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">.</include>
|
||||||
<include base="expat">lib</include>
|
<include base="expat">lib</include>
|
||||||
<include base="ReactOS">include/reactos/libs/expat</include>
|
<include base="ReactOS">include/reactos/libs/expat</include>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue