summaryrefslogtreecommitdiff
path: root/xfce-extra/xfce4-systemload-plugin/files/xfce4-systemload-plugin-1.3.2-x86.patch
blob: 027aea406823899d661c7c6434054686d65b7393 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
https://bugs.gentoo.org/905084
https://gitlab.xfce.org/panel-plugins/xfce4-systemload-plugin/-/issues/25
https://gitlab.xfce.org/panel-plugins/xfce4-systemload-plugin/-/commit/13a2e3ecb4b6cf6aad26c6b1d2388ef6922a5c92

From 13a2e3ecb4b6cf6aad26c6b1d2388ef6922a5c92 Mon Sep 17 00:00:00 2001
From: Akbarkhon Variskhanov <akbarkhon.variskhanov@gmail.com>
Date: Tue, 20 Dec 2022 13:50:40 +0500
Subject: [PATCH] build: Fix failure due to wrong var type (Fixes #25)

--- 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;
-- 
GitLab