From 49a3f72ebbf2ace388d0b6a488a9ae0b2c5675ac Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 24 Aug 2006 20:17:59 +0000 Subject: r17805: Sorry Jerry, I could not stand the warnings... :-) (This used to be commit f5fcafd77e8a749659ef90296402c5130f45419b) --- source3/libaddns/dnsgss.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/libaddns/dnsgss.c') diff --git a/source3/libaddns/dnsgss.c b/source3/libaddns/dnsgss.c index b4c1500661..862f5e7b58 100644 --- a/source3/libaddns/dnsgss.c +++ b/source3/libaddns/dnsgss.c @@ -321,7 +321,7 @@ int32 DNSGetTKeyData( DNS_RR_RECORD * pTKeyRecord, sizeof( int16 ) ); wKeyDataSize = ntohs( wnKeyDataSize ); - dwError = DNSAllocateMemory( wKeyDataSize, ( void ** ) &pKeyData ); + dwError = DNSAllocateMemory( wKeyDataSize, ( void * ) &pKeyData ); BAIL_ON_ERROR( dwError ); memcpy( pKeyData, pTKeyRecord->pRData + dwKeyDataOffset, @@ -444,7 +444,7 @@ int32 DNSNegotiateSecureContext( HANDLE hDNSServer, if ( output_desc.length != 0 ) { dwError = DNSBuildTKeyQueryRequest( szKeyName, - output_desc. + (uint8 *)output_desc. value, output_desc. length, @@ -475,7 +475,7 @@ int32 DNSNegotiateSecureContext( HANDLE hDNSServer, if ( output_desc.length != 0 ) { dwError = DNSBuildTKeyQueryRequest( szKeyName, - output_desc. + (uint8 *)output_desc. value, output_desc. length, -- cgit