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 directly touch hardware or depend up on the internal representation format of pointers any conversion between a pointer type and a non-pointer type should always be highly suspect. Expressions who's result is a ptrdiff_t or involve addition or subtraction of a ptrdiff_t are certainly fine of course... Mike _______________________________________________ Wireshark-dev mailing list Wireshark-dev@wireshark.org http://www.wireshark.org/mailman/listinfo/wireshark-dev