diff options
author | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2013-12-15 12:35:00 +0000 |
---|---|---|
committer | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2013-12-15 12:35:00 +0000 |
commit | 2c015bb386abc571c41e322c66c3aca204fca0ca (patch) | |
tree | cdf09dfe565956188bcbf80085a7857bc2e156d5 /epan/dissectors/packet-dmp.c | |
parent | db1b70f168a23bd4ba9b9a2921ff8d26573f770a (diff) |
Fix some const/ not const warnings.
svn path=/trunk/; revision=54114
Diffstat (limited to 'epan/dissectors/packet-dmp.c')
-rw-r--r-- | epan/dissectors/packet-dmp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-dmp.c b/epan/dissectors/packet-dmp.c index dc5357880b..a117e1e9e1 100644 --- a/epan/dissectors/packet-dmp.c +++ b/epan/dissectors/packet-dmp.c @@ -1370,14 +1370,14 @@ static gboolean dmp_dec_xbyte_sic (guint64 bin, gchar *sic, static guint dmp_id_hash (gconstpointer k) { - dmp_id_key *dmpx=(dmp_id_key *)k; + const dmp_id_key *dmpx=(const dmp_id_key *)k; return dmpx->id; } static gint dmp_id_hash_equal (gconstpointer k1, gconstpointer k2) { - dmp_id_key *dmp1=(dmp_id_key *)k1; - dmp_id_key *dmp2=(dmp_id_key *)k2; + const dmp_id_key *dmp1=(const dmp_id_key *)k1; + const dmp_id_key *dmp2=(const dmp_id_key *)k2; if (dmp1->id != dmp2->id) return 0; |