diff options
author | Guy Harris <guy@alum.mit.edu> | 2018-02-17 11:33:30 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2018-02-17 19:34:02 +0000 |
commit | cd443126a4d73612f27286b0f548a07b63553a5c (patch) | |
tree | 664062052e11834ced65c345a13d179c0106657d /epan/dissectors/packet-collectd.c | |
parent | 8b9dfbaba9f10cffd41b0cca1446a7a6c5b6eb90 (diff) |
No need to cast away constness.
Change-Id: I9778f2bf867539f83835d6c04bac201e66b1e5ee
Reviewed-on: https://code.wireshark.org/review/25838
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-collectd.c')
-rw-r--r-- | epan/dissectors/packet-collectd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-collectd.c b/epan/dissectors/packet-collectd.c index a73f954319..eb54302ece 100644 --- a/epan/dissectors/packet-collectd.c +++ b/epan/dissectors/packet-collectd.c @@ -20,7 +20,7 @@ #include <wsutil/str_util.h> -#define STR_NONNULL(str) ((str) ? ((gchar*)str) : "(null)") +#define STR_NONNULL(str) ((str) ? ((const gchar*)str) : "(null)") #define TYPE_HOST 0x0000 #define TYPE_TIME 0x0001 |