Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 36179: Makefile.common packet-mndp.c
From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Sat, 12 Mar 2011 19:26:42 +0100
On Sat, Mar 12, 2011 at 12:09:57PM +0000, stig@xxxxxxxxxxxxx wrote:
> http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=36179
> 
> Log:
>  Use TRUE/FALSE for encoding_info to make it build.

- encoding_info = (guint)value_array[type_index].evs;
+ encoding_info = value_array[type_index].evs ? TRUE : FALSE;

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?

>  Added packet-mndp.c to Makefile build.

Thanks! I forgot completely :-/
 
Ciao
  Jörg
-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.