From 08e01f35f747bfe30a40ea99cbcd63ad7fb94e7e Mon Sep 17 00:00:00 2001 From: bigbear Date: Thu, 8 Feb 2024 02:57:20 +0100 Subject: FIX GCC Warnings --- modules/devices/battery.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/devices/battery.c') 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"))) { -- cgit v1.2.3