Commit e97a1afb authored by Alexandre Julliard's avatar Alexandre Julliard

advapi32: Fixed compiler warnings.

parent ae8b835d
...@@ -2093,7 +2093,7 @@ VOID WINAPI BuildTrusteeWithObjectsAndNameA( PTRUSTEEA pTrustee, POBJECTS_AND_NA ...@@ -2093,7 +2093,7 @@ VOID WINAPI BuildTrusteeWithObjectsAndNameA( PTRUSTEEA pTrustee, POBJECTS_AND_NA
pTrustee->MultipleTrusteeOperation = NO_MULTIPLE_TRUSTEE; pTrustee->MultipleTrusteeOperation = NO_MULTIPLE_TRUSTEE;
pTrustee->TrusteeForm = TRUSTEE_IS_OBJECTS_AND_NAME; pTrustee->TrusteeForm = TRUSTEE_IS_OBJECTS_AND_NAME;
pTrustee->TrusteeType = TRUSTEE_IS_UNKNOWN; pTrustee->TrusteeType = TRUSTEE_IS_UNKNOWN;
pTrustee->ptstrName = pObjName; pTrustee->ptstrName = (LPSTR)pObjName;
} }
/****************************************************************************** /******************************************************************************
......
...@@ -173,11 +173,10 @@ static void test_trustee(void) ...@@ -173,11 +173,10 @@ static void test_trustee(void)
char szObjectTypeName[] = "ObjectTypeName"; char szObjectTypeName[] = "ObjectTypeName";
char szInheritedObjectTypeName[] = "InheritedObjectTypeName"; char szInheritedObjectTypeName[] = "InheritedObjectTypeName";
char szTrusteeName[] = "szTrusteeName"; char szTrusteeName[] = "szTrusteeName";
SID_IDENTIFIER_AUTHORITY auth = { {0x11,0x22,0,0,0, 0} };
memset( &ZeroGuid, 0x00, sizeof (ZeroGuid) ); memset( &ZeroGuid, 0x00, sizeof (ZeroGuid) );
SID_IDENTIFIER_AUTHORITY auth = { {0x11,0x22,0,0,0, 0} };
pBuildTrusteeWithSidA = (fnBuildTrusteeWithSidA) pBuildTrusteeWithSidA = (fnBuildTrusteeWithSidA)
GetProcAddress( hmod, "BuildTrusteeWithSidA" ); GetProcAddress( hmod, "BuildTrusteeWithSidA" );
pBuildTrusteeWithNameA = (fnBuildTrusteeWithNameA) pBuildTrusteeWithNameA = (fnBuildTrusteeWithNameA)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment