From f97c80fa98924f21ee12061023862b397bc2cf35 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Tue, 7 Aug 2012 21:26:02 +0200 Subject: [PATCH] unix: fix const correctness compiler warning --- src/unix/fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unix/fs.c b/src/unix/fs.c index e62832db..c43c19f2 100644 --- a/src/unix/fs.c +++ b/src/unix/fs.c @@ -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) {