diff options
author | bigbear <ns@bigbear.dk> | 2024-02-08 02:57:20 +0100 |
---|---|---|
committer | bigbear <ns@bigbear.dk> | 2024-02-08 19:52:53 +0100 |
commit | 08e01f35f747bfe30a40ea99cbcd63ad7fb94e7e (patch) | |
tree | a727faeb3ffb38d523b0700a63e6e537d295a152 /modules/devices/printers.c | |
parent | 4c249cfdc742d162fdb384fba61236cada3d9f29 (diff) |
FIX GCC Warnings
Diffstat (limited to 'modules/devices/printers.c')
-rw-r--r-- | modules/devices/printers.c | 4 |
1 files changed, 2 insertions, 2 deletions
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)); |