Skip to content

Commit

Permalink
unix: fix const correctness compiler warning
Browse files Browse the repository at this point in the history
This is a back-port of commit f97c80f from the master branch.
  • Loading branch information
bnoordhuis committed Aug 20, 2012
1 parent ce87b7e commit 83e0087
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unix/fs.c
Expand Up @@ -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) {
Expand Down

0 comments on commit 83e0087

Please sign in to comment.