- Allow warnings in the expat library

- More fixes for GCC4.2

svn path=/trunk/; revision=25571
This commit is contained in:
Thomas Bluemel 2007-01-21 22:42:44 +00:00
parent 27c812af6e
commit 285cc65a82
3 changed files with 4 additions and 4 deletions

View file

@ -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;

View file

@ -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;

View file

@ -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>