Skip to content
Snippets Groups Projects
ksysguard-5.5.5-netstat-use-a-real-type.patch 479 B
Newer Older
--- ksysguard-5.5.5/ksysguardd/Linux/netstat.old	2016-03-01 14:35:05.000000000 +0100
+++ ksysguard-5.5.5/ksysguardd/Linux/netstat.c	2016-07-22 03:46:19.016064987 +0100
@@ -264,10 +264,10 @@
 {
 	FILE *netstat;
 	char buffer[1024];
-	uint local_addr, local_port;
-	uint remote_addr, remote_port;
+	unsigned int local_addr, local_port;
+	unsigned int remote_addr, remote_port;
 	int uid;
-	uint state;
+	unsigned int state;
 	SocketInfo *socket_info;
 
 	if (strstr(cmd, "tcp")) {