filter: explicit type conversion
This commit is contained in:
parent
aecdd8237c
commit
0cbb1ba9f0
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue