summaryrefslogtreecommitdiff
path: root/source3/libaddns/dnssock.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/dnssock.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/dnssock.c')
-rw-r--r--source3/libaddns/dnssock.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/libaddns/dnssock.c b/source3/libaddns/dnssock.c
index 713d56c703..88bd44e0e2 100644
--- a/source3/libaddns/dnssock.c
+++ b/source3/libaddns/dnssock.c
@@ -368,12 +368,12 @@ int32 DNSCreateSendBuffer( HANDLE * phDNSSendBuffer )
uint8 *pSendBuffer = NULL;
dwError = DNSAllocateMemory( sizeof( DNS_SENDBUFFER_CONTEXT ),
- ( void ** ) &pDNSContext );
+ ( void * ) &pDNSContext );
BAIL_ON_ERROR( dwError );
dwError =
DNSAllocateMemory( SENDBUFFER_SIZE,
- ( void ** ) &pSendBuffer );
+ ( void * ) &pSendBuffer );
BAIL_ON_ERROR( dwError );
pDNSContext->pSendBuffer = pSendBuffer;
@@ -587,12 +587,12 @@ int32 DNSCreateReceiveBuffer( HANDLE * phDNSRecvBuffer )
uint8 *pRecvBuffer = NULL;
dwError = DNSAllocateMemory( sizeof( DNS_RECEIVEBUFFER_CONTEXT ),
- ( void ** ) &pDNSContext );
+ ( void * ) &pDNSContext );
BAIL_ON_ERROR( dwError );
dwError =
DNSAllocateMemory( RECVBUFFER_SIZE,
- ( void ** ) &pRecvBuffer );
+ ( void * ) &pRecvBuffer );
BAIL_ON_ERROR( dwError );
pDNSContext->pRecvBuffer = pRecvBuffer;
@@ -684,7 +684,7 @@ int32 DNSUnmarshallDomainNameAtOffset( HANDLE hRecvBuffer,
dwError =
DNSAllocateMemory( sizeof( DNS_DOMAIN_LABEL ),
- ( void ** ) &pLabel );
+ ( void * ) &pLabel );
BAIL_ON_ERROR( dwError );
pLabel->pszLabel = pszLabel;
@@ -694,7 +694,7 @@ int32 DNSUnmarshallDomainNameAtOffset( HANDLE hRecvBuffer,
dwError =
DNSAllocateMemory( sizeof( DNS_DOMAIN_NAME ),
- ( void ** ) &pDomainName );
+ ( void * ) &pDomainName );
BAIL_ON_ERROR( dwError );
pDomainName->pLabelList = pLabelList;