ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

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

From: Martin Mathieson <martin.r.mathieson@xxxxxxxxxxxxxx>
Date: Sun, 16 Aug 2009 22:40:49 +0100
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?

Martin

Attachment: except.diff
Description: Binary data