aboutsummaryrefslogtreecommitdiff
path: root/modules/devices/battery.c
diff options
context:
space:
mode:
authorbigbear <ns@bigbear.dk>2024-02-08 02:57:20 +0100
committerbigbear <ns@bigbear.dk>2024-02-08 19:52:53 +0100
commit08e01f35f747bfe30a40ea99cbcd63ad7fb94e7e (patch)
treea727faeb3ffb38d523b0700a63e6e537d295a152 /modules/devices/battery.c
parent4c249cfdc742d162fdb384fba61236cada3d9f29 (diff)
FIX GCC Warnings
Diffstat (limited to 'modules/devices/battery.c')
-rw-r--r--modules/devices/battery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/devices/battery.c b/modules/devices/battery.c
index 3424fa9d..e356c14a 100644
--- a/modules/devices/battery.c
+++ b/modules/devices/battery.c
@@ -57,7 +57,7 @@ __scan_battery_apcupsd(void)
GHashTable *ups_data;
FILE *apcaccess;
char buffer[512], *apcaccess_path;
- int i;
+ guint i;
apcaccess_path = find_program("apcaccess");
if (apcaccess_path && (apcaccess = popen(apcaccess_path, "r"))) {