http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=25749
User: morriss
Date: 2008/07/15 02:06 PM
Log:
GArrays' data is properly aligned for whatever they are holding (despite
the fact that 'data' is a pointer to a char). GLIB fixed this in their
accessor macro here:
http://svn.gnome.org/viewvc/glib?view=revision&revision=6092
The bug report confirms that the data is properly aligned:
http://bugzilla.gnome.org/show_bug.cgi?id=502927
So, add some intermediate (void *) casts to avoid "cast increases required
alignment of target type" on SPARC. (No, we can't use the accessor macro
because we want to access the whole array not just the ith element.)
Since build_dict->ett is actually an array of pointers, change it to a
GPtrArray.
Reindent some.
Directory: /trunk/epan/dissectors/
Changes Path Action
+149 -124 packet-diameter.c Modified