aboutsummaryrefslogtreecommitdiffstats
path: root/src/gamma-coopgamma.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gamma-coopgamma.c')
-rw-r--r--src/gamma-coopgamma.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gamma-coopgamma.c b/src/gamma-coopgamma.c
index 5b18c95..387e29b 100644
--- a/src/gamma-coopgamma.c
+++ b/src/gamma-coopgamma.c
@@ -270,8 +270,8 @@ coopgamma_start(struct gamma_state *state, enum program_mode mode)
#define X(SUFFIX, TYPE, MAX, TRUE_MAX, DEPTH)\
case DEPTH:\
crtc->rampsize = sizeof(TYPE);\
- break;
- LIST_RAMPS_STOP_VALUE_TYPES
+ break
+ LIST_RAMPS_STOP_VALUE_TYPES(X, ;);
#undef X
default:
if (info.depth > 0)
@@ -325,8 +325,8 @@ coopgamma_start(struct gamma_state *state, enum program_mode mode)
d /= crtc->plain_ramps.SUFFIX.blue_size;\
crtc->plain_ramps.SUFFIX.blue[j] = d * TRUE_MAX;\
}\
- break;
- LIST_RAMPS_STOP_VALUE_TYPES
+ break
+ LIST_RAMPS_STOP_VALUE_TYPES(X, ;);
#undef X
default:
abort();
@@ -529,8 +529,8 @@ coopgamma_set_temperature(struct gamma_state *state, const struct color_setting
filter->ramps.u8.green_size,\
filter->ramps.u8.blue_size,\
setting);\
- break;
- LIST_RAMPS_STOP_VALUE_TYPES
+ break
+ LIST_RAMPS_STOP_VALUE_TYPES(X, ;);
#undef X
default:
abort();