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/benchmark.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/benchmark.c') diff --git a/modules/benchmark.c b/modules/benchmark.c index 78dd32bb..6fe8adb4 100644 --- a/modules/benchmark.c +++ b/modules/benchmark.c @@ -755,7 +755,7 @@ static gchar *get_benchmark_results(gsize *len) JsonNode *root; bench_machine *this_machine; gchar *out; - gint i; + guint i; for (i = 0; i < G_N_ELEMENTS(entries); i++) { if (!entries[i].name || !entries[i].scan_callback) @@ -905,7 +905,7 @@ void hi_module_init(void) sync_manager_add_entry(&se[0]); sync_manager_add_entry(&se[1]); - int i; + guint i; for (i = 0; i < G_N_ELEMENTS(entries) - 1 /* account for NULL */; i++) bench_results[i] = (bench_value)EMPTY_BENCH_VALUE; } -- cgit v1.2.3