Re: [Wireshark-dev] Compile broken on 64-bit Linux -- packet-dtls.c

2007-04-17 Thread Jeff Morriss
Guy Harris wrote: > On Apr 16, 2007, at 3:16 PM, Mike Duigou wrote: > >> packet-dtls.c: In function 'dissect_dtls': >> packet-dtls.c:433: warning: cast to pointer from integer of >> different size > > That call happens to do something that's probably safe on platforms > where > > 1)

Re: [Wireshark-dev] Compile broken on 64-bit Linux -- packet-dtls.c

2007-04-16 Thread Guy Harris
On Apr 16, 2007, at 3:16 PM, Mike Duigou wrote: > packet-dtls.c: In function 'dissect_dtls': > packet-dtls.c:433: warning: cast to pointer from integer of > different size That call happens to do something that's probably safe on platforms where 1) "int" has no more bits than a poin

[Wireshark-dev] Compile broken on 64-bit Linux -- packet-dtls.c

2007-04-16 Thread Mike Duigou
packet-dtls.c: In function 'dissect_dtls': packet-dtls.c:433: warning: cast to pointer from integer of different size I hope that with the recent emphasis on fixing warnings that all conversions between pointers and integers are now flagged as errors. For software like Wireshark which doesn't di