diff options
author | Guy Harris <guy@alum.mit.edu> | 2013-05-23 01:19:09 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2013-05-23 01:19:09 +0000 |
commit | 08979d51544bc0110219760a6057f0fb88b3de6e (patch) | |
tree | 385263883706b99ba0cc81c8c0ad67aaab0482e3 /capture_ifinfo.c | |
parent | 14147099ea1d834bde0da2fbd25fc8f57358eca8 (diff) | |
download | wireshark-08979d51544bc0110219760a6057f0fb88b3de6e.tar.gz wireshark-08979d51544bc0110219760a6057f0fb88b3de6e.tar.bz2 wireshark-08979d51544bc0110219760a6057f0fb88b3de6e.zip |
See if this squelches a warning.
svn path=/trunk/; revision=49541
Diffstat (limited to 'capture_ifinfo.c')
-rw-r--r-- | capture_ifinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/capture_ifinfo.c b/capture_ifinfo.c index 40967a6117..8b6faaea6e 100644 --- a/capture_ifinfo.c +++ b/capture_ifinfo.c @@ -163,7 +163,7 @@ capture_interface_list(int *err, char **err_str) if_info->vendor_description = g_strdup(if_parts[1]); if (strlen(if_parts[2]) > 0) if_info->friendly_name = g_strdup(if_parts[2]); - if_info->type = (interface_type)strtol(if_parts[3], NULL, 10); + if_info->type = (interface_type)(int)strtol(if_parts[3], NULL, 10); addr_parts = g_strsplit(if_parts[4], ",", 0); for (j = 0; addr_parts[j] != NULL; j++) { if_addr = g_new0(if_addr_t,1); |