Wireshark-dev: Re: [Wireshark-dev] Except.c build errors
From: Martin Mathieson <martin.r.mathieson@xxxxxxxxxxxxxx>
Date: Mon, 17 Aug 2009 13:46:10 +0100


On Mon, Aug 17, 2009 at 5:32 AM, Kovarththanan Rajaratnam <kovarththanan.rajaratnam@xxxxxxxxx> wrote:
Hey,

Martin Mathieson wrote:
> Hi,
>
> I was seeing error messages, because my compiler (gcc 3.4.6) wouldn't
> allow except_set_allocator() to cast the function prototype that
> differed by its arg (i.e. the length field from size_t to gulong (as
> used  by g_malloc()).
>
> The attached patch works for me - should it be checked in?

I think we should just add a typecast here. That's at least how we've
done it in several other places. Can you test r29451?

That's fine now!
Thanks,
Martin

 

Best regards,
Kovarththanan Rajaratnam

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe