summaryrefslogtreecommitdiffstats
path: root/source/xfce/xfce4-systemload-plugin/01_Fix-build-failure-due-to-wrong-var-type.patch
diff options
context:
space:
mode:
Diffstat (limited to 'source/xfce/xfce4-systemload-plugin/01_Fix-build-failure-due-to-wrong-var-type.patch')
-rw-r--r--source/xfce/xfce4-systemload-plugin/01_Fix-build-failure-due-to-wrong-var-type.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/source/xfce/xfce4-systemload-plugin/01_Fix-build-failure-due-to-wrong-var-type.patch b/source/xfce/xfce4-systemload-plugin/01_Fix-build-failure-due-to-wrong-var-type.patch
new file mode 100644
index 000000000..e392ec74e
--- /dev/null
+++ b/source/xfce/xfce4-systemload-plugin/01_Fix-build-failure-due-to-wrong-var-type.patch
@@ -0,0 +1,21 @@
+From: Akbarkhon Variskhanov <akbarkhon.variskhanov@gmail.com>
+Date: Tue, 20 Dec 2022 13:50:40 +0500
+Subject: Fix build failure due to wrong var type
+
+---
+ panel-plugin/network.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/panel-plugin/network.cc b/panel-plugin/network.cc
+index 6a85dab..3de831d 100644
+--- a/panel-plugin/network.cc
++++ b/panel-plugin/network.cc
+@@ -114,7 +114,7 @@ read_netload_proc (gulong *bytes)
+ gint
+ read_netload (gulong *net, gulong *NTotal)
+ {
+- static guint64 bytes[2];
++ static gulong bytes[2];
+ static gint64 time[2];
+
+ *net = 0;