aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2019-10-25 13:00:01 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2019-10-25 13:00:01 +0200
commit1f1492bb96e318a36dee940e6d4bec0ef915339f (patch)
tree5663cd6e1dc21f5cf9a5ffc38a08681839e8397c
parentb4ef2e3467d8e980ccf13c9dd342459c013b455f (diff)
downloadbusybox-w32-1f1492bb96e318a36dee940e6d4bec0ef915339f.tar.gz
busybox-w32-1f1492bb96e318a36dee940e6d4bec0ef915339f.tar.bz2
busybox-w32-1f1492bb96e318a36dee940e6d4bec0ef915339f.zip
netstat: suppress a warning (conversion from 'int' to 'smallint' changes value)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--networking/netstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/netstat.c b/networking/netstat.c
index 29b891cdc..c7934423b 100644
--- a/networking/netstat.c
+++ b/networking/netstat.c
@@ -172,7 +172,7 @@ struct prg_node {
172#define PRG_HASH_SIZE 211 172#define PRG_HASH_SIZE 211
173 173
174struct globals { 174struct globals {
175 smallint flags; 175 smalluint flags;
176#if ENABLE_FEATURE_NETSTAT_PRG 176#if ENABLE_FEATURE_NETSTAT_PRG
177 smallint prg_cache_loaded; 177 smallint prg_cache_loaded;
178 struct prg_node *prg_hash[PRG_HASH_SIZE]; 178 struct prg_node *prg_hash[PRG_HASH_SIZE];