diff options
Diffstat (limited to 'src/gamma-randr.c')
-rw-r--r-- | src/gamma-randr.c | 2 |
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); |