diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-08-24 20:17:59 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:38:49 -0500 |
commit | 49a3f72ebbf2ace388d0b6a488a9ae0b2c5675ac (patch) | |
tree | 9ee5099448515fe5a183ee4c6a198180e84f8389 /source3/libaddns/dnsrequest.c | |
parent | 25a685b71ad4e6584b41641fcbee1a972714a27a (diff) | |
download | samba-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/dnsrequest.c')
-rw-r--r-- | source3/libaddns/dnsrequest.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/libaddns/dnsrequest.c b/source3/libaddns/dnsrequest.c index 3dd402981f..d92b0737d3 100644 --- a/source3/libaddns/dnsrequest.c +++ b/source3/libaddns/dnsrequest.c @@ -398,7 +398,7 @@ int32 DNSStdAddQuestionSection( DNS_REQUEST * pDNSRequest, dwNumQuestions = pDNSRequest->wQuestions; dwError = DNSReallocMemory( ( uint8 * ) pDNSRequest->ppQuestionRRSet, - ( void ** ) &pDNSRequest->ppQuestionRRSet, + ( void * ) &pDNSRequest->ppQuestionRRSet, ( dwNumQuestions + 1 ) * sizeof( DNS_QUESTION_RECORD * ) ); @@ -424,7 +424,7 @@ int32 DNSStdAddAdditionalSection( DNS_REQUEST * pDNSRequest, dwNumAdditionals = pDNSRequest->wAdditionals; dwError = DNSReallocMemory( pDNSRequest->ppAdditionalRRSet, - ( void ** ) &pDNSRequest-> + ( void * ) &pDNSRequest-> ppAdditionalRRSet, ( dwNumAdditionals + 1 ) * sizeof( DNS_RR_RECORD * ) ); @@ -453,7 +453,7 @@ int32 DNSStdCreateStdRequest( DNS_REQUEST ** ppDNSRequest ) #endif dwError = DNSAllocateMemory( sizeof( DNS_REQUEST ), - ( void ** ) &pDNSRequest ); + ( void * ) &pDNSRequest ); BAIL_ON_ERROR( dwError ); dwError = DNSGenerateIdentifier( &pDNSRequest->wIdentification ); |