On Mar 12, 2011, at 10:26 AM, Joerg Mayer wrote:

> I obviously didn't encounter that problem on my 32-bit system. Your
> workaround will do for now, but as we now have data types (time) that will put
> additional stuff instead of only TRUE/FALSE into this call, I wanted to
> create a generic solution. What's the "correct" solution to this? Use
> a union?

Add a new member to the ext_value_string structure, containing a guint giving 
the encoding value to pass to the specialfunction, rather than overloading evs?

Unfortunately, in standard C89, you can't initialize unions arbitrarily.
___________________________________________________________________________
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

Reply via email to