diff options
author | Denis Ovsienko <denis@ovsienko.info> | 2017-09-13 13:26:02 +0100 |
---|---|---|
committer | Denis Ovsienko <denis@ovsienko.info> | 2017-09-13 13:33:02 +0100 |
commit | 413840cf188d748819f718655db02e8927d590b0 (patch) | |
tree | 52e7fe2042329a9978ea02f8967b85185f49b079 /print-vqp.c | |
parent | e5ab6e7001ce66740193be7db47b462a944ada10 (diff) | |
download | tcpdump-413840cf188d748819f718655db02e8927d590b0.tar.gz |
Don't specify struct as "const" within sizeof().
The only difference the const qualifier makes in this context is visual,
make it consistent with the rest of the source code.
Diffstat (limited to 'print-vqp.c')
-rw-r--r-- | print-vqp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/print-vqp.c b/print-vqp.c index 90cf8ddf..6e1c909f 100644 --- a/print-vqp.c +++ b/print-vqp.c @@ -148,8 +148,8 @@ vqp_print(netdissect_options *ndo, register const u_char *pptr, register u_int l len)); /* skip VQP Common header */ - tptr+=sizeof(const struct vqp_common_header_t); - tlen-=sizeof(const struct vqp_common_header_t); + tptr+=sizeof(struct vqp_common_header_t); + tlen-=sizeof(struct vqp_common_header_t); while (nitems > 0 && tlen > 0) { |