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>
This commit is contained in:
parent
c62547b951
commit
4802325ea6
|
@ -291,7 +291,7 @@ static void follow_draw(void *contextp)
|
||||||
|
|
||||||
static gboolean follow_arg_strncmp(const char **opt_argp, const char *strp)
|
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)
|
if (strncmp(*opt_argp, strp, len) == 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue