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/printers.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/devices/printers.c') diff --git a/modules/devices/printers.c b/modules/devices/printers.c index e849e1dc..fb9389ac 100644 --- a/modules/devices/printers.c +++ b/modules/devices/printers.c @@ -181,7 +181,7 @@ const struct { void scan_printers_do(void) { - int num_dests, i, j; + guint num_dests, j, i; CUPSDest *dests; gchar *prn_id, *prn_moreinfo; @@ -209,7 +209,7 @@ scan_printers_do(void) options = g_hash_table_new(g_str_hash, g_str_equal); - for (j = 0; j < dests[i].num_options; j++) { + for (j = 0; (int)j < dests[i].num_options; j++) { g_hash_table_insert(options, g_strdup(dests[i].options[j].name), g_strdup(dests[i].options[j].value)); -- cgit v1.2.3