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

On Mon, Aug 17, 2009 at 5:32 AM, Kovarththanan Rajaratnam <[email protected]> wrote:

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!


Best regards,
Kovarththanan Rajaratnam

Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:[email protected]?subject=unsubscribe