diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2011-10-21 13:44:30 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2011-10-21 13:44:30 -0700 |
commit | 9b2335a35600ad4f9a04ed37da3f3f4a9fea869f (patch) | |
tree | f4e8ddf6f246b2f4b8b5d88769fdb090261b1f51 /deps/uv/src/unix/cygwin.c | |
parent | de09168e5a3a1d8b18f73d79ea750074aa80e064 (diff) | |
download | android-node-v8-9b2335a35600ad4f9a04ed37da3f3f4a9fea869f.tar.gz android-node-v8-9b2335a35600ad4f9a04ed37da3f3f4a9fea869f.tar.bz2 android-node-v8-9b2335a35600ad4f9a04ed37da3f3f4a9fea869f.zip |
Upgrade libuv to 7738306
Diffstat (limited to 'deps/uv/src/unix/cygwin.c')
-rw-r--r-- | deps/uv/src/unix/cygwin.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/deps/uv/src/unix/cygwin.c b/deps/uv/src/unix/cygwin.c index bafe83bfb3..2f0680a4b7 100644 --- a/deps/uv/src/unix/cygwin.c +++ b/deps/uv/src/unix/cygwin.c @@ -58,12 +58,12 @@ int uv_exepath(char* buffer, size_t* size) { return 0; } -double uv_get_free_memory(void) { - return (double) sysconf(_SC_PAGESIZE) * sysconf(_SC_AVPHYS_PAGES); +uint64_t uv_get_free_memory(void) { + return (uint64_t) sysconf(_SC_PAGESIZE) * sysconf(_SC_AVPHYS_PAGES); } -double uv_get_total_memory(void) { - return (double) sysconf(_SC_PAGESIZE) * sysconf(_SC_PHYS_PAGES); +uint64_t uv_get_total_memory(void) { + return (uint64_t) sysconf(_SC_PAGESIZE) * sysconf(_SC_PHYS_PAGES); } int uv_fs_event_init(uv_loop_t* loop, |