[gnome-applets] multiload: fix -Werror=array-parameter= warning
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-applets] multiload: fix -Werror=array-parameter= warning
- Date: Sat, 21 Aug 2021 07:54:57 +0000 (UTC)
commit ad661b84af12ab9c96446f6de366f0bad172b5cf
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sat Aug 21 10:54:21 2021 +0300
multiload: fix -Werror=array-parameter= warning
gnome-applets/multiload/linux-proc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnome-applets/multiload/linux-proc.h b/gnome-applets/multiload/linux-proc.h
index e24fc82c8..755860823 100644
--- a/gnome-applets/multiload/linux-proc.h
+++ b/gnome-applets/multiload/linux-proc.h
@@ -8,7 +8,7 @@ G_GNUC_INTERNAL void GetDiskLoad (int Maximum, int data [3], LoadGraph *g);
#if 0
G_GNUC_INTERNAL void GetPage (int Maximum, int data [3], LoadGraph *g);
#endif /* 0 */
-G_GNUC_INTERNAL void GetMemory (int Maximum, int data [4], LoadGraph *g);
+G_GNUC_INTERNAL void GetMemory (int Maximum, int data [5], LoadGraph *g);
G_GNUC_INTERNAL void GetSwap (int Maximum, int data [2], LoadGraph *g);
G_GNUC_INTERNAL void GetLoadAvg (int Maximum, int data [2], LoadGraph *g);
G_GNUC_INTERNAL void GetNet (int Maximum, int data [4], LoadGraph *g);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]