I'm pretty confident the string length will fit in 32 bits; cast away the "possible loss of data" warning on the Win64 build.

svn path=/trunk/; revision=46087
This commit is contained in:
Jeff Morriss 2012-11-19 21:00:44 +00:00
parent e8e7ba68da
commit 06efe50e5f
1 changed files with 11 additions and 11 deletions

View File

@ -544,7 +544,7 @@ capture_opts_add_iface_opt(capture_options *capture_opts, const char *optarg_str
/* didn't find, attempt a case insensitive prefix match of the friendly name*/
if(!matched){
int prefix_length;
prefix_length=strlen(optarg_str_p);
prefix_length=(int)strlen(optarg_str_p);
for (if_entry = g_list_first(if_list); if_entry != NULL;
if_entry = g_list_next(if_entry))
{