aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-aoe.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-aoe.c')
-rw-r--r--epan/dissectors/packet-aoe.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-aoe.c b/epan/dissectors/packet-aoe.c
index 0a6196a9da..4efeaac4bb 100644
--- a/epan/dissectors/packet-aoe.c
+++ b/epan/dissectors/packet-aoe.c
@@ -202,7 +202,7 @@ ata_cmd_equal_matched(gconstpointer k1, gconstpointer k2)
static guint
ata_cmd_hash_unmatched(gconstpointer k)
{
- const ata_info_t *key = (ata_info_t *)k;
+ const ata_info_t *key = k;
return key->tag;
}
@@ -210,8 +210,8 @@ ata_cmd_hash_unmatched(gconstpointer k)
static gint
ata_cmd_equal_unmatched(gconstpointer k1, gconstpointer k2)
{
- const ata_info_t *key1 = (ata_info_t *)k1;
- const ata_info_t *key2 = (ata_info_t *)k2;
+ const ata_info_t *key1 = k1;
+ const ata_info_t *key2 = k2;
return (key1->tag==key2->tag)&&(key1->conversation==key2->conversation);
}