summaryrefslogtreecommitdiffhomepage
path: root/networking
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 /networking
parentb4ef2e3467d8e980ccf13c9dd342459c013b455f (diff)
netstat: suppress a warning (conversion from 'int' to 'smallint' changes value)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-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 {
#define PRG_HASH_SIZE 211
struct globals {
- smallint flags;
+ smalluint flags;
#if ENABLE_FEATURE_NETSTAT_PRG
smallint prg_cache_loaded;
struct prg_node *prg_hash[PRG_HASH_SIZE];