From 603142e23528061e7ba5bdbcb466e676237745a8 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 8 Jan 2023 22:19:02 +0100 Subject: Fix warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libfonts_get_default_font_name.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libfonts_get_default_font_name.c') 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; -- cgit v1.2.3-70-g09d2