diff options
author | Guy Harris <guy@alum.mit.edu> | 2007-04-30 19:24:25 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2007-04-30 19:24:25 +0000 |
commit | 1d73cea47065011c327f83b9c26ab973504a8117 (patch) | |
tree | 5dd407225e18178c9fdc4c126cccdf7d4dfd08b0 /epan/dissectors/packet-rpc.c | |
parent | db53f99ccabc039963b3540b10eeef7ff41e2ea4 (diff) |
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
Diffstat (limited to 'epan/dissectors/packet-rpc.c')
-rw-r--r-- | epan/dissectors/packet-rpc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dissectors/packet-rpc.c b/epan/dissectors/packet-rpc.c index 3a585144a5..b40a26bb7e 100644 --- a/epan/dissectors/packet-rpc.c +++ b/epan/dissectors/packet-rpc.c @@ -45,6 +45,7 @@ #include "packet-nfs.h" #include <epan/tap.h> #include <epan/strutil.h> +#include <epan/garrayfix.h> /* * See: |