summaryrefslogtreecommitdiff
path: root/modules/benchmark.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/benchmark.c
parent4c249cfdc742d162fdb384fba61236cada3d9f29 (diff)
FIX GCC Warnings
Diffstat (limited to 'modules/benchmark.c')
-rw-r--r--modules/benchmark.c4
1 files changed, 2 insertions, 2 deletions
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;
}