summaryrefslogtreecommitdiff
path: root/source3/libaddns/dnsgss.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-08-24 20:17:59 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:38:49 -0500
commit49a3f72ebbf2ace388d0b6a488a9ae0b2c5675ac (patch)
tree9ee5099448515fe5a183ee4c6a198180e84f8389 /source3/libaddns/dnsgss.c
parent25a685b71ad4e6584b41641fcbee1a972714a27a (diff)
downloadsamba-49a3f72ebbf2ace388d0b6a488a9ae0b2c5675ac.tar.gz
samba-49a3f72ebbf2ace388d0b6a488a9ae0b2c5675ac.tar.bz2
samba-49a3f72ebbf2ace388d0b6a488a9ae0b2c5675ac.zip
r17805: Sorry Jerry, I could not stand the warnings... :-)
(This used to be commit f5fcafd77e8a749659ef90296402c5130f45419b)
Diffstat (limited to 'source3/libaddns/dnsgss.c')
-rw-r--r--source3/libaddns/dnsgss.c6
1 files changed, 3 insertions, 3 deletions
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,