aboutsummaryrefslogtreecommitdiffstats
path: root/libfonts_get_default_font_name.c
diff options
context:
space:
mode:
Diffstat (limited to 'libfonts_get_default_font_name.c')
-rw-r--r--libfonts_get_default_font_name.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libfonts_get_default_font_name.c b/libfonts_get_default_font_name.c
index 66d14cb..877f44c 100644
--- a/libfonts_get_default_font_name.c
+++ b/libfonts_get_default_font_name.c
@@ -67,7 +67,7 @@ main(void)
} while (0)
errno = 0;
- ASSERT(libfonts_get_default_font_name(-1, 0, &r) == -1);
+ ASSERT(libfonts_get_default_font_name((enum libfonts_default_font)~1, 0, &r) == -1);
ASSERT(errno == EINVAL);
errno = 0;