Wireshark-commits: [Wireshark-commits] rev 29841: /trunk/epan/ftypes/ /trunk/epan/ftypes/: ftype-by

Date: Thu, 10 Sep 2009 14:37:10 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=29841

User: krj
Date: 2009/09/10 07:37 AM

Log:
 Use the correct type, that is GByteArray instead of GString. The reason why this 'worked' before (on non-64bit platforms that is):
 
 struct _GString
 {
   gchar  *str;
   gsize len;    
   gsize allocated_len;
 };
 
 And:
 
 struct _GArray
 {
   gchar *data;
   guint len;
 };
 
 We only accessed the first two fields of the GString struct.

Directory: /trunk/epan/ftypes/
  Changes    Path             Action
  +3 -3      ftype-bytes.c    Modified
  +0 -1      ftypes.h         Modified