mirror of
https://github.com/albfan/miraclecast.git
synced 2025-02-12 13:51:55 +00:00
cast free to avoid warnings
This commit is contained in:
parent
430b1a39b8
commit
c9c8bd7a7a
1 changed files with 1 additions and 1 deletions
|
@ -828,7 +828,7 @@ int shl__mkdir_parents(const char *prefix, const char *path, mode_t mode)
|
|||
|
||||
p = strndup(path, e - path);
|
||||
r = shl__is_dir(p);
|
||||
free(p);
|
||||
free((char*)p);
|
||||
if (r > 0)
|
||||
return 0;
|
||||
if (r == 0)
|
||||
|
|
Loading…
Reference in a new issue