From 0cbb1ba9f0ca2455bb72851a7d247d21620f8c7e Mon Sep 17 00:00:00 2001 From: Ed Kellett Date: Sun, 6 Oct 2019 19:41:06 +0100 Subject: [PATCH] filter: explicit type conversion --- extensions/filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/filter.c b/extensions/filter.c index c4a7f0d6..85239bdb 100644 --- a/extensions/filter.c +++ b/extensions/filter.c @@ -230,7 +230,7 @@ setfilter(const char *check, const char *data, const char **error) if (state == FILTER_FILLING) { int dl; - unsigned char *d = rb_base64_decode(data, strlen(data), &dl); + unsigned char *d = rb_base64_decode((unsigned char *)data, strlen(data), &dl); if (!d) { if (error) *error = "invalid data"; return -1;