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/computer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/computer.c') diff --git a/modules/computer.c b/modules/computer.c index cfa6bb3c..fff8ba36 100644 --- a/modules/computer.c +++ b/modules/computer.c @@ -254,7 +254,7 @@ void scan_dev(gboolean reload) { SCAN_START(); - int i; + guint i; struct { gchar *compiler_name; gchar *version_command; @@ -465,7 +465,7 @@ gchar *computer_get_virtualization(void) "/var/log/dmesg", NULL }; - const static struct { + static const struct { gchar *str; gchar *vmtype; } vm_types[] = { -- cgit v1.2.3