diff options
author | Fedor Indutny <fedor.indutny@gmail.com> | 2013-12-13 22:35:09 +0400 |
---|---|---|
committer | Fedor Indutny <fedor.indutny@gmail.com> | 2013-12-13 22:35:09 +0400 |
commit | f61d9405bfcf0fa113a13d57d41fef7d74a69538 (patch) | |
tree | 9618cb7ae2285c51ff6f73cdfb8356537d55e9e6 /deps/uv/src/unix/darwin.c | |
parent | 069dd07a1732c6a752773aaed9e8c18ab472375f (diff) | |
download | android-node-v8-f61d9405bfcf0fa113a13d57d41fef7d74a69538.tar.gz android-node-v8-f61d9405bfcf0fa113a13d57d41fef7d74a69538.tar.bz2 android-node-v8-f61d9405bfcf0fa113a13d57d41fef7d74a69538.zip |
uv: Upgrade to v0.11.16
Diffstat (limited to 'deps/uv/src/unix/darwin.c')
-rw-r--r-- | deps/uv/src/unix/darwin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/uv/src/unix/darwin.c b/deps/uv/src/unix/darwin.c index c1655994e7..bc282e7912 100644 --- a/deps/uv/src/unix/darwin.c +++ b/deps/uv/src/unix/darwin.c @@ -75,7 +75,7 @@ int uv_exepath(char* buffer, size_t* size) { result = _NSGetExecutablePath(buffer, &usize); if (result) return result; - path = (char*)malloc(2 * PATH_MAX); + path = malloc(2 * PATH_MAX); fullpath = realpath(buffer, path); if (fullpath == NULL) { SAVE_ERRNO(free(path)); |