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