From 1bacd51b810ff1851a11edb7e886df01f89952d2 Mon Sep 17 00:00:00 2001 From: auronandace Date: Thu, 18 Sep 2025 16:30:30 +0100 Subject: [PATCH] specify the type properly --- src/header/fnmatch/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/header/fnmatch/mod.rs b/src/header/fnmatch/mod.rs index d0e172f131..8bb30eb2a3 100644 --- a/src/header/fnmatch/mod.rs +++ b/src/header/fnmatch/mod.rs @@ -22,7 +22,7 @@ pub const FNM_NOESCAPE: c_int = 1; pub const FNM_PATHNAME: c_int = 2; pub const FNM_PERIOD: c_int = 4; pub const FNM_CASEFOLD: c_int = 8; -pub const FNM_IGNORECASE: FNM_CASEFOLD; +pub const FNM_IGNORECASE: c_int = FNM_CASEFOLD; // TODO: FNM_EXTMATCH unsafe fn tokenize(mut pattern: *const u8, flags: c_int) -> Tree {