summaryrefslogtreecommitdiff
path: root/ui/cli
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2016-01-12 10:17:12 -0500
committerEvan Huus <eapache@gmail.com>2016-01-12 15:17:40 +0000
commit4802325ea6d7bc4e3436f1ac1f10d1f1789a7c0e (patch)
treec392c43a862503dcfa697232b0120eb68116c576 /ui/cli
parentc62547b9510eb1a0efe08972387bfa8559f444d5 (diff)
downloadwireshark-4802325ea6d7bc4e3436f1ac1f10d1f1789a7c0e.tar.gz
Fix type: strlen returns a size_t
Change-Id: I5a3ea655c4a362bbacb72e8c7a19f3c96d22a0fc Reviewed-on: https://code.wireshark.org/review/13231 Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'ui/cli')
-rw-r--r--ui/cli/tap-follow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/cli/tap-follow.c b/ui/cli/tap-follow.c
index 3d69a19f8d..c6a4ed0014 100644
--- a/ui/cli/tap-follow.c
+++ b/ui/cli/tap-follow.c
@@ -291,7 +291,7 @@ static void follow_draw(void *contextp)
static gboolean follow_arg_strncmp(const char **opt_argp, const char *strp)
{
- int len = strlen(strp);
+ size_t len = strlen(strp);
if (strncmp(*opt_argp, strp, len) == 0)
{