Fixed all warnings.

This commit is contained in:
Martin Baulig
1999-07-30 21:03:22 +00:00
parent 2814206ffa
commit 9152479981
13 changed files with 20 additions and 22 deletions

View File

@@ -187,7 +187,7 @@ glibtop_get_proc_data_netload_s (glibtop *server,
int name [2] = { CTL_LIBGTOP, LIBGTOP_NETLOAD };
size_t size = sizeof (libgtop_netload_t);
if (sysctl (name, 2, netload, &size, device, strlen (device)+1)) {
if (sysctl (name, 2, netload, &size, (char *) device, strlen (device)+1)) {
glibtop_warn_io_r (server, "sysctl (libgtop/netload)");
return -1;
}