aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-epl.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-12-28 12:43:46 -0800
committerGuy Harris <guy@alum.mit.edu>2015-12-28 20:46:26 +0000
commitc2b774326471f03c81a23466aac9308f931f865e (patch)
tree7c7b2b98b705a32224c7d1f04915a14592675ee8 /epan/dissectors/packet-epl.c
parent18c5496137a0da931b2cf2f52b5a76b570b5a881 (diff)
Eliminate more unnecessary casting away of constness.
Change-Id: I3d2d83d60f798703ea3fa16ba2d6e95a00f88469 Reviewed-on: https://code.wireshark.org/review/12885 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-epl.c')
-rw-r--r--epan/dissectors/packet-epl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-epl.c b/epan/dissectors/packet-epl.c
index ac707a0ed1..7ca2201b14 100644
--- a/epan/dissectors/packet-epl.c
+++ b/epan/dissectors/packet-epl.c
@@ -1518,7 +1518,7 @@ static GHashTable *epl_duplication_table = NULL;
static guint
epl_duplication_hash(gconstpointer k)
{
- duplication_key *key = (duplication_key*)k;
+ const duplication_key *key = (const duplication_key*)k;
guint hash;
hash = ((key->src)<<24) | ((key->dest)<<16)|
@@ -1531,8 +1531,8 @@ epl_duplication_hash(gconstpointer k)
static gint
epl_duplication_equal(gconstpointer k1, gconstpointer k2)
{
- duplication_key *key1 = (duplication_key*)k1;
- duplication_key *key2 = (duplication_key*)k2;
+ const duplication_key *key1 = (const duplication_key*)k1;
+ const duplication_key *key2 = (const duplication_key*)k2;
gint hash;
hash = (key1->src == key2->src)&&(key1->dest == key2->dest)&&