Wireshark-commits: [Wireshark-commits] rev 25693: /trunk/epan/dissectors/ /trunk/epan/dissectors/:

Date: Wed, 09 Jul 2008 21:22:01 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=25693

User: morriss
Date: 2008/07/09 02:22 PM

Log:
 Don't declare a char[] then cast it into a guint16 to use it as both a guint16 and a char: the char[] alignment may not be correct for a guint16. Instead declare a guint16[] and cast it to char when needed.  This is still weird but it fixes a Solaris/SPARC warning.

Directory: /trunk/epan/dissectors/
  Changes    Path                     Action
  +3 -3      packet-armagetronad.c    Modified