Wireshark-commits: [Wireshark-commits] rev 21940: /trunk/ /trunk/: tshark.c

Date: Fri, 25 May 2007 19:31:21 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=21940

User: guy
Date: 2007/05/25 07:31 PM

Log:
 The libpcap callback "user" argument *should* have been a "void *", as
 it's a pointer to an arbitrary object, assumed to be correctly aligned,
 not a pointer to a not-necessarily-properly-aligned array of bytes. 
 Cast it, so we won't get alignment warnings.

Directory: /trunk/
  Changes    Path          Action
  +1 -1      tshark.c      Modified