Subject: Re: Fixing a few errors and warning detected by coverity

Re: Fixing a few errors and warning detected by coverity

From: Jaap Keuter <jaap.keuter_at_xs4all.nl>
Date: Tue, 07 May 2013 08:08:54 +0200

On 05/03/2013 09:33 AM, Patrick Valsecchi wrote:
> On 05/02/2013 10:51 PM, Daniel Stenberg wrote:
>> There's a large amount of added typecasts for malloc() and a few other void
>> pointers in that patch. Why do we need them?
>>
> Because it's a first step to make c-ares compilable in C++ (I know you don't
> care) and it doesn't hurt.
>
> But since I don't want to start a holy war ;-), I've put a new patch in
> attachment and we'll try to teach Coverity to ignore those.

Now these _are_ interesting changes.

Thanks,
Jaap
Received on 2013-05-07