git.samba.org
/
metze
/
wireshark
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a9b99c
)
Don't cast away constness.
author
Guy Harris
<guy@alum.mit.edu>
Tue, 14 Jan 2014 04:01:59 +0000
(
04:01
-0000)
committer
Guy Harris
<guy@alum.mit.edu>
Tue, 14 Jan 2014 04:01:59 +0000
(
04:01
-0000)
svn path=/trunk/; revision=54760
epan/dissectors/packet-igrp.c
patch
|
blob
|
history
diff --git
a/epan/dissectors/packet-igrp.c
b/epan/dissectors/packet-igrp.c
index 7cd3c8a3492bd4443dc85938e4678d65911f021c..77b0bb45c9a24c9e8f535482cfd45783f834f0e0 100644
(file)
--- a/
epan/dissectors/packet-igrp.c
+++ b/
epan/dissectors/packet-igrp.c
@@
-103,7
+103,7
@@
static void dissect_igrp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
/* this is a ugly hack to find the first byte of the IP source address */
if (pinfo->net_src.type == AT_IPv4) {
- ipsrc = (guint8 *)pinfo->net_src.data;
+ ipsrc = (
const
guint8 *)pinfo->net_src.data;
network = ipsrc[0];
} else
network = 0; /* XXX - shouldn't happen */