diff options
author | Guy Harris <guy@alum.mit.edu> | 2015-04-26 17:24:42 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-04-26 17:24:42 -0700 |
commit | 69cb46af9119e8b5554bcc4bf1bf36f39cb82131 (patch) | |
tree | f75d78587057b773da075ffcd071e831f1e7beeb /print-sflow.c | |
parent | 4ac279241d8b41959cdef7b2778035cb014bb10b (diff) | |
download | tcpdump-69cb46af9119e8b5554bcc4bf1bf36f39cb82131.tar.gz |
Fix a bunch of de-constifications.
Diffstat (limited to 'print-sflow.c')
-rw-r--r-- | print-sflow.c | 2 |
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); |