aboutsummaryrefslogtreecommitdiffstats
path: root/src/gamma-randr.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/gamma-randr.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 'src/gamma-randr.c')
-rw-r--r--src/gamma-randr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gamma-randr.c b/src/gamma-randr.c
index 00fdc0c..35171c0 100644
--- a/src/gamma-randr.c
+++ b/src/gamma-randr.c
@@ -338,7 +338,7 @@ randr_set_temperature_for_crtc(struct gamma_state *state, int crtc_num,
if (crtc_num >= state->crtc_count || crtc_num < 0) {
if (state->crtc_count > 1)
- weprintf(_("CRTC %i does not exist, valid CRTCs are [0, %i]."), crtc_num, state->crtc_count-1);
+ weprintf(_("CRTC %i does not exist, valid CRTCs are [0, %i]."), crtc_num, (int)state->crtc_count - 1);
else
weprintf(_("CRTC %i does not exist, only CRTC 0 exists."), crtc_num);