aboutsummaryrefslogtreecommitdiffstats
path: root/src/options.c
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2025-03-08 13:44:00 +0100
committerMattias Andrée <m@maandree.se>2025-03-08 13:44:00 +0100
commitc18006147ed0ffba6144c25e564aa95c4dbba99a (patch)
tree89d3ce8cc2ea7cd6450c54f05425f671396f26fa /src/options.c
parentRemove near empty translation sets (diff)
downloadredshift-ng-c18006147ed0ffba6144c25e564aa95c4dbba99a.tar.gz
redshift-ng-c18006147ed0ffba6144c25e564aa95c4dbba99a.tar.bz2
redshift-ng-c18006147ed0ffba6144c25e564aa95c4dbba99a.tar.xz
Fix warnings
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
-rw-r--r--src/options.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/options.c b/src/options.c
index c25eb03..7a7fb01 100644
--- a/src/options.c
+++ b/src/options.c
@@ -216,8 +216,10 @@ print_method_list(void)
static void
print_provider_list(void)
{
+ size_t i;
+
fputs(_("Available location providers:\n"), stdout);
- for (int i = 0; location_providers[i]; i++) {
+ for (i = 0; location_providers[i]; i++) {
printf(" %s\n", location_providers[i]->name);
}