Add a header that redefines g_array_index() to throw in a "void *" cast
authorGuy Harris <guy@alum.mit.edu>
Mon, 30 Apr 2007 19:24:25 +0000 (19:24 -0000)
committerGuy Harris <guy@alum.mit.edu>
Mon, 30 Apr 2007 19:24:25 +0000 (19:24 -0000)
commit1d73cea47065011c327f83b9c26ab973504a8117
tree5dd407225e18178c9fdc4c126cccdf7d4dfd08b0
parentdb53f99ccabc039963b3540b10eeef7ff41e2ea4
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
epan/Makefile.common
epan/dissectors/packet-radius.c
epan/dissectors/packet-rmt-lct.c
epan/dissectors/packet-rmt-norm.c
epan/dissectors/packet-rpc.c
epan/dissectors/packet-xml.c
epan/garrayfix.h [new file with mode: 0644]