[git commit] netstat: suppress a warning (conversion from 'int' to 'smallint' changes value)

Denys Vlasenko vda.linux at googlemail.com
Fri Oct 25 11:00:01 UTC 2019


commit: https://git.busybox.net/busybox/commit/?id=1f1492bb96e318a36dee940e6d4bec0ef915339f
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 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];


More information about the busybox-cvs mailing list