aboutsummaryrefslogtreecommitdiffstats
path: root/libgamma_const_of_subpixel_order.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-03-07 22:51:21 +0100
committerMattias Andrée <maandree@kth.se>2021-03-07 22:51:21 +0100
commitbaa6a1cf7979c095c1081daa2a2d1134c76d2f1b (patch)
treed0525238a334091eb4d241b0b83da1a4a1793d5b /libgamma_const_of_subpixel_order.c
parentStart replacing info manual with man pages (diff)
downloadlibgamma-baa6a1cf7979c095c1081daa2a2d1134c76d2f1b.tar.gz
libgamma-baa6a1cf7979c095c1081daa2a2d1134c76d2f1b.tar.bz2
libgamma-baa6a1cf7979c095c1081daa2a2d1134c76d2f1b.tar.xz
misc
Signed-off-by: Mattias Andrée <maandree@kth.se>
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;