Commit Graph

7 Commits

Author SHA1 Message Date
Guy Harris 5a43799a17 Use G_GINT64_MODIFIER, rather than the PRI[douxX]64 macros, for GLib
routines and routines using those routines.  GLib might use different
modifiers for 64-bit quantities than the platform's C library does.

svn path=/trunk/; revision=21990
2007-05-29 18:52:42 +00:00
Guy Harris 1d73cea470 Add a header that redefines g_array_index() to throw in a "void *" cast
to work around the "data" field of a GArray being a guint8 *, and
defines a g_array_data() macro to extract that field and cast it to void
*.

Use that header where needed.

svn path=/trunk/; revision=21627
2007-04-30 19:24:25 +00:00
Guy Harris 3485b6810a Thou shalt not squelch compiler complaints about an assignment
discarding a qualifier by explicitly casting away the qualifier;
constness should persist, so that attempts to, for example, modify
something you got with tvb_get_ptr() get complained about (as we don't,
and won't, guarantee that you will get correct behavior if you do that).
Just make the pointer to which a const pointer is being assigned const
itself.

Yet *AGAIN* work around GArray's brokenness of having its data pointer
be a guint8 * rather than a void *.

svn path=/trunk/; revision=21623
2007-04-30 08:33:44 +00:00
Ronnie Sahlberg feab79e328 change a whole bunch of ethereal into wireshark
svn path=/trunk/; revision=18196
2006-05-21 04:49:01 +00:00
Anders Broman 9dd9e3e80f From Julian Onions
- some improvements to the NORM decoder, and the ability to
(optionally) heuristically detect NORM.
- some improvements to FEC block labelling.
- making the LCT header extension handler more generic and to decode more header extensions.

svn path=/trunk/; revision=16280
2005-10-20 18:51:47 +00:00
Jörg Mayer bf1c2080d4 Dominik Kuhlen: Fix a copy/paste bug reported in
http://bugs.ethereal.com/bugzilla/show_bug.cgi?id=211

svn path=/trunk/; revision=14690
2005-06-18 08:49:24 +00:00
Guy Harris 544216dd74 From Stefano Pettini: RMT support for ALC and NORM.
svn path=/trunk/; revision=13029
2005-01-14 11:17:35 +00:00