Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Except.c build errors

From: Kovarththanan Rajaratnam <kovarththanan.rajaratnam@xxxxxxxxx>
Date: Mon, 17 Aug 2009 06:32:52 +0200
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?

Best regards,
Kovarththanan Rajaratnam