forked from Mirrors/wine-wine
advapi32: Fixed compiler warnings.
parent
ae8b835d85
commit
e97a1afbab
|
@ -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)
|
||||||
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)
|
||||||
|
|
Loading…
Reference in New Issue