diff options
author | Martin Mathieson <martin.r.mathieson@googlemail.com> | 2012-12-16 00:25:25 +0000 |
---|---|---|
committer | Martin Mathieson <martin.r.mathieson@googlemail.com> | 2012-12-16 00:25:25 +0000 |
commit | 460d6be1afa41e3d23c60316f7ca94ef8ac349d5 (patch) | |
tree | 9248d455f0da3135b56c5d0bbad66bb14b13fa96 /ui/cli/tap-macltestat.c | |
parent | b7e64d65719f1211e85243bd00b18d20b7d1f044 (diff) | |
download | wireshark-460d6be1afa41e3d23c60316f7ca94ef8ac349d5.tar.gz |
Don't cast away const qualifier.
svn path=/trunk/; revision=46550
Diffstat (limited to 'ui/cli/tap-macltestat.c')
-rw-r--r-- | ui/cli/tap-macltestat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/cli/tap-macltestat.c b/ui/cli/tap-macltestat.c index c15066e1a6..1f290484aa 100644 --- a/ui/cli/tap-macltestat.c +++ b/ui/cli/tap-macltestat.c @@ -160,7 +160,7 @@ mac_lte_stat_reset(void *phs) /* Allocate a mac_lte_ep_t struct to store info for new UE */ -static mac_lte_ep_t* alloc_mac_lte_ep(struct mac_lte_tap_info *si, packet_info *pinfo _U_) +static mac_lte_ep_t* alloc_mac_lte_ep(const struct mac_lte_tap_info *si, packet_info *pinfo _U_) { mac_lte_ep_t* ep; @@ -226,7 +226,7 @@ mac_lte_stat_packet(void *phs, packet_info *pinfo, epan_dissect_t *edt _U_, mac_lte_ep_t *tmp = NULL, *te = NULL; /* Cast tap info struct */ - struct mac_lte_tap_info *si = (struct mac_lte_tap_info *)phi; + const struct mac_lte_tap_info *si = (const struct mac_lte_tap_info *)phi; if (!hs) { return 0; |