netstat: suppress a warning (conversion from 'int' to 'smallint' changes value)
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 25 Oct 2019 11:00:01 +0000 (13:00 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 25 Oct 2019 11:00:01 +0000 (13:00 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/netstat.c

index 29b891cdc1a89b1045c67951a8586c624b2833db..c7934423ba0da9b08db41d338375b1e519e86929 100644 (file)
@@ -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];