unix: fix const correctness compiler warning
This commit is contained in:
parent
41b1265af8
commit
f97c80fa98
@ -85,7 +85,7 @@ void uv_fs_req_cleanup(uv_fs_t* req) {
|
||||
if (req->cb)
|
||||
uv__req_unregister(req->loop, req);
|
||||
|
||||
free(req->path);
|
||||
free((void*)req->path);
|
||||
req->path = NULL;
|
||||
|
||||
switch (req->fs_type) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user