Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 37601: /trunk/gtk/ /trunk/gtk/: dcer
From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Wed, 8 Jun 2011 01:28:09 -0700
On Jun 8, 2011, at 1:23 AM, Guy Harris wrote:

> Squelched with a (void) cast (it's only using strtoul() for the side-effects of setting the "pointer to the end of the number" argument and errno, in order to see whether the text value of the preference is a valid number or not).

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARGH

What part of "(void)" does the compiler not understand?

Should we just use spinboxes for numeric preferences and thus be guaranteed that it'll be a valid number?