diff options
Diffstat (limited to 'epan/dissectors/packet-aoe.c')
-rw-r--r-- | epan/dissectors/packet-aoe.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-aoe.c b/epan/dissectors/packet-aoe.c index 4fdb9e4d3a..0a6196a9da 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) { - ata_info_t *key = (ata_info_t *)k; + const ata_info_t *key = (ata_info_t *)k; return key->tag; } @@ -210,8 +210,8 @@ ata_cmd_hash_unmatched(gconstpointer k) static gint ata_cmd_equal_unmatched(gconstpointer k1, gconstpointer k2) { - ata_info_t *key1 = (ata_info_t *)k1; - ata_info_t *key2 = (ata_info_t *)k2; + const ata_info_t *key1 = (ata_info_t *)k1; + const ata_info_t *key2 = (ata_info_t *)k2; return (key1->tag==key2->tag)&&(key1->conversation==key2->conversation); } |