aboutsummaryrefslogtreecommitdiffstats
path: root/epan/rtd_table.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2015-06-22 08:53:34 -0700
committerGerald Combs <gerald@wireshark.org>2015-06-22 15:53:35 +0000
commit02b497743c63eb530d09b9da829f61291925dce4 (patch)
treea9021713382f0742be05c1cf411e49c494802a19 /epan/rtd_table.c
parent8f390d497577937dee7311f345b77c840ba42e15 (diff)
Add a strlen cast.
Change-Id: I480e2e7436f0334f0dfd99352bd49304765fcee3 Reviewed-on: https://code.wireshark.org/review/9021 Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'epan/rtd_table.c')
-rw-r--r--epan/rtd_table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/rtd_table.c b/epan/rtd_table.c
index a74a32adb2..d2aca8b097 100644
--- a/epan/rtd_table.c
+++ b/epan/rtd_table.c
@@ -151,7 +151,7 @@ gchar* rtd_table_get_tap_string(register_rtd_t* rtd)
void rtd_table_get_filter(register_rtd_t* rtd, const char *opt_arg, const char **filter, char** err)
{
gchar* cmd_str = rtd_table_get_tap_string(rtd);
- guint len = strlen(cmd_str);
+ guint len = (guint) strlen(cmd_str);
*filter=NULL;
*err=NULL;