aboutsummaryrefslogtreecommitdiffstats
path: root/src/gamma-vidmode.c
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2025-03-08 13:27:09 +0100
committerMattias Andrée <m@maandree.se>2025-03-08 13:27:09 +0100
commit6a6b10be7642e59ae40f9911282a8e2aa2601d82 (patch)
tree990f445224d9b1f692108965337bdc1dcb0fa3b1 /src/gamma-vidmode.c
parentUnlist redshift/issues/291: rejected: will not break backwards compatibility (diff)
downloadredshift-ng-6a6b10be7642e59ae40f9911282a8e2aa2601d82.tar.gz
redshift-ng-6a6b10be7642e59ae40f9911282a8e2aa2601d82.tar.bz2
redshift-ng-6a6b10be7642e59ae40f9911282a8e2aa2601d82.tar.xz
misc
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'src/gamma-vidmode.c')
-rw-r--r--src/gamma-vidmode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gamma-vidmode.c b/src/gamma-vidmode.c
index 0876f47..13ac50d 100644
--- a/src/gamma-vidmode.c
+++ b/src/gamma-vidmode.c
@@ -80,7 +80,7 @@ vidmode_start(struct gamma_state *state, enum program_mode mode)
}
if (!state->ramp_size) {
- weprintf(_("Gamma ramp size too small: %i"), state->ramp_size);
+ weprintf(_("Gamma ramp size too small: %zu"), (size_t)state->ramp_size);
return -1;
}