aboutsummaryrefslogtreecommitdiffstats
path: root/libgamma_const_of_subpixel_order.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgamma_const_of_subpixel_order.c')
-rw-r--r--libgamma_const_of_subpixel_order.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgamma_const_of_subpixel_order.c b/libgamma_const_of_subpixel_order.c
index b320e9d..9cf285c 100644
--- a/libgamma_const_of_subpixel_order.c
+++ b/libgamma_const_of_subpixel_order.c
@@ -12,9 +12,9 @@
* `NULL` if not recognised (errno is not changed)
*/
const char *
-libgamma_const_of_subpixel_order(int order)
+libgamma_const_of_subpixel_order(enum libgamma_subpixel_order order)
{
- switch (order) {
+ switch ((int)order) {
#define X(CONST, ...)\
case CONST:\
return #CONST;