diff options
author | Guy Harris <guy@alum.mit.edu> | 2019-03-17 17:20:40 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2019-03-18 00:21:12 +0000 |
commit | 946c8505418a025bd8e17be8a70ac2effa1be071 (patch) | |
tree | 11e020973f06c8386eee1f8e214caefa5a0dea76 /capchild/capture_sync.c | |
parent | 4a9c6863221e746f4e9fcc5508f692e5dc5de936 (diff) |
More constification, to squelch warnings.
capture_input_drops() doesn't, and shouldn't, modify or free or... the
interface name, so make the pointer to it a const pointer.
Change-Id: Iafc5c5dd9939225b3aeb8a8e36c5bdeecc394e12
Reviewed-on: https://code.wireshark.org/review/32465
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'capchild/capture_sync.c')
-rw-r--r-- | capchild/capture_sync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/capchild/capture_sync.c b/capchild/capture_sync.c index 25879ebdfb..4991bed501 100644 --- a/capchild/capture_sync.c +++ b/capchild/capture_sync.c @@ -1724,7 +1724,7 @@ sync_pipe_input_cb(gint source, gpointer user_data) name = end + 1; } - capture_input_drops(cap_session, num, (char*)name); + capture_input_drops(cap_session, num, name); break; } default: |