forked from osmocom/wireshark
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:
parent
e8e7ba68da
commit
06efe50e5f
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue