aboutsummaryrefslogtreecommitdiffstats
path: root/libgamma_name_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_name_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_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;