summaryrefslogtreecommitdiff
path: root/print-sflow.c
diff options
context:
space:
mode:
Diffstat (limited to 'print-sflow.c')
-rw-r--r--print-sflow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print-sflow.c b/print-sflow.c
index 708f7605..ed2dee2b 100644
--- a/print-sflow.c
+++ b/print-sflow.c
@@ -761,7 +761,7 @@ sflow_print_flow_sample(netdissect_options *ndo,
if (len < sizeof(struct sflow_flow_sample_t))
return 1;
- sflow_flow_sample = (struct sflow_flow_sample_t *)pointer;
+ sflow_flow_sample = (const struct sflow_flow_sample_t *)pointer;
typesource = EXTRACT_32BITS(sflow_flow_sample->typesource);
nrecords = EXTRACT_32BITS(sflow_flow_sample->records);