Wireshark-commits: [Wireshark-commits] rev 21939: /trunk/ /trunk/: capture_loop.c

Date: Fri, 25 May 2007 19:27:16 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=21939

User: guy
Date: 2007/05/25 07:27 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      capture_loop.c    Modified