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.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/devices.c') diff --git a/modules/devices.c b/modules/devices.c index 440e614a..574896ee 100644 --- a/modules/devices.c +++ b/modules/devices.c @@ -286,7 +286,7 @@ gchar *get_storage_devices_simple(void) return ""; } - int i, fi; + guint i, fi; struct InfoGroup *group; struct InfoField *field; gchar *storage_devs = NULL, *tmp; @@ -863,7 +863,7 @@ void hi_module_init(void) }, #endif }; - gint i; + guint i; for (i = 0; i < G_N_ELEMENTS(entries); i++) sync_manager_add_entry(&entries[i]); @@ -889,7 +889,7 @@ void hi_module_deinit(void) const ModuleAbout *hi_module_get_about(void) { - const static ModuleAbout ma = { + static const ModuleAbout ma = { .author = "L. A. F. Pereira", .description = N_("Gathers information about hardware devices"), .version = VERSION, -- cgit v1.2.3