aboutsummaryrefslogtreecommitdiff
path: root/modules/devices.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.c
parent4c249cfdc742d162fdb384fba61236cada3d9f29 (diff)
FIX GCC Warnings
Diffstat (limited to 'modules/devices.c')
-rw-r--r--modules/devices.c6
1 files changed, 3 insertions, 3 deletions
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,