diff options
author | Anders Broman <anders.broman@ericsson.com> | 2013-03-12 20:00:50 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2013-03-12 20:00:50 +0000 |
commit | 455f5c8243c16c266150f4fbb0520b685e2cbca8 (patch) | |
tree | f6693a002af71ef17bd644364b6c242015907acf /epan/dissectors/packet-afs.c | |
parent | 97bb558394698b5b279b8bef74b383b4ebe4734b (diff) |
- [-Wmissing-prototypes]
- explicit casts.
svn path=/trunk/; revision=48265
Diffstat (limited to 'epan/dissectors/packet-afs.c')
-rw-r--r-- | epan/dissectors/packet-afs.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/epan/dissectors/packet-afs.c b/epan/dissectors/packet-afs.c index 4a7b80dc8c..c1f080a43f 100644 --- a/epan/dissectors/packet-afs.c +++ b/epan/dissectors/packet-afs.c @@ -46,6 +46,9 @@ #include "packet-rx.h" +/* Forward declarations */ +void proto_register_afs(void); + #define AFS_PORT_FS 7000 #define AFS_PORT_CB 7001 #define AFS_PORT_PROT 7002 @@ -1533,7 +1536,7 @@ afs_init_protocol(void) static void dissect_afs(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { - struct rxinfo *rxinfo = pinfo->private_data; + struct rxinfo *rxinfo = (rxinfo *)pinfo->private_data; int reply = 0; conversation_t *conversation; struct afs_request_key request_key, *new_request_key; |