mirror of
https://github.com/cathugger/mkp224o.git
synced 2025-05-04 20:30:34 +00:00
tweaks
This commit is contained in:
parent
cf4443b7fd
commit
6458157cda
3 changed files with 5 additions and 5 deletions
|
@ -409,7 +409,7 @@ static void filters_add(const char *filter)
|
|||
memset(&f,0,sizeof(f));
|
||||
f.re = re;
|
||||
size_t fl = strlen(filter) + 1;
|
||||
f.str = malloc(fl);
|
||||
f.str = (char *) malloc(fl);
|
||||
if (!f.str)
|
||||
abort();
|
||||
memcpy(f.str,filter,fl);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue