netstat: suppress a warning (conversion from 'int' to 'smallint' changes value)

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2019-10-25 13:00:01 +02:00
parent b4ef2e3467
commit 1f1492bb96

View File

@ -172,7 +172,7 @@ struct prg_node {
#define PRG_HASH_SIZE 211 #define PRG_HASH_SIZE 211
struct globals { struct globals {
smallint flags; smalluint flags;
#if ENABLE_FEATURE_NETSTAT_PRG #if ENABLE_FEATURE_NETSTAT_PRG
smallint prg_cache_loaded; smallint prg_cache_loaded;
struct prg_node *prg_hash[PRG_HASH_SIZE]; struct prg_node *prg_hash[PRG_HASH_SIZE];