aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-aoe.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-12-30 02:10:24 +0000
committerGuy Harris <guy@alum.mit.edu>2004-12-30 02:10:24 +0000
commit0ccf418724aa221c786e8ac765a8cbe1fed8ac3d (patch)
tree1e4a380da3f190a7468ee2baa824b4e1ff58ac67 /epan/dissectors/packet-aoe.c
parent9d5c8771c1560425077117b33a06a9e8263062a9 (diff)
Add a "get_addr_name()" routine that takes an "address *" and attempts
to resolve it to a name. Fix up some const-pointer-to-non-const-pointer, and function-pointer-to-void-*, conversions. Fix some comments. svn path=/trunk/; revision=12863
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 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);
}