Wireshark-dev: Re: [Wireshark-dev] Netflow dissector bug-to-be
From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Sun, 7 Nov 2010 12:45:45 -0800
On Nov 7, 2010, at 12:37 PM, Hadriel Kaplan wrote:

> It won't help - if you force it to be bigger than an int, gcc errors that the switch's case statement is not an integer... and apparently ISO C agrees with it: switch/case is defined to use an int size (and since int is 16 bits on some systems, makes me wonder if this isn't already failing for Cace's enterprise number on such systems).

Not in Wireshark, as far as I know; I'm not even sure GLib's configuration script will succeed on a system with 16-bit ints, and I'm not sure which of its supporting libraries, if any, work on such a system.