summaryrefslogtreecommitdiffstats
path: root/lib/ts_kmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ts_kmp.c')
-rw-r--r--lib/ts_kmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ts_kmp.c b/lib/ts_kmp.c
index 73266b97558..e45f0f0c237 100644
--- a/lib/ts_kmp.c
+++ b/lib/ts_kmp.c
@@ -87,7 +87,7 @@ static inline void compute_prefix_tbl(const u8 *pattern, unsigned int len,
}
static struct ts_config *kmp_init(const void *pattern, unsigned int len,
- int gfp_mask)
+ unsigned int __nocast gfp_mask)
{
struct ts_config *conf;
struct ts_kmp *kmp;