From 1f1492bb96e318a36dee940e6d4bec0ef915339f Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 25 Oct 2019 13:00:01 +0200 Subject: [PATCH] netstat: suppress a warning (conversion from 'int' to 'smallint' changes value) Signed-off-by: Denys Vlasenko --- networking/netstat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- 2.25.1