unix: fix const correctness compiler warning

This commit is contained in:
Ben Noordhuis 2012-08-07 21:26:02 +02:00
parent 41b1265af8
commit f97c80fa98

View File

@ -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) {