summaryrefslogtreecommitdiff
path: root/user/ksysguard/ksysguard-5.5.5-netstat-use-a-real-type.patch
blob: d3543f3ce4540217dc74c38828bcac9e0785709d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- 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")) {