diff --git a/sysdeps/linux/ChangeLog b/sysdeps/linux/ChangeLog index a55771c5..168d5e66 100644 --- a/sysdeps/linux/ChangeLog +++ b/sysdeps/linux/ChangeLog @@ -1,3 +1,7 @@ +2004-11-13 Benoît Dejean + + * netlist.c: (glibtop_get_netlist_s): Killed warning. + 2004-10-26 Benoît Dejean * proctime.c: (glibtop_get_proc_time_s): Set .rtime. At last ! diff --git a/sysdeps/linux/netlist.c b/sysdeps/linux/netlist.c index 966c7729..b2e649e7 100644 --- a/sysdeps/linux/netlist.c +++ b/sysdeps/linux/netlist.c @@ -79,6 +79,6 @@ glibtop_get_netlist_s (glibtop *server, glibtop_netlist *buf) g_ptr_array_add(devices, NULL); - return g_ptr_array_free(devices, FALSE); + return (char**) g_ptr_array_free(devices, FALSE); }