diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2014-04-08 07:01:44 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-04-08 13:49:45 -0300 |
commit | 1fc7d6a0c514257cee9fb204cb83564b17354c11 (patch) | |
tree | c084cde4dbad56ce29ab07a3ffd247aea86cfbf9 /src/os/env.c | |
parent | 08059114349d689d2a45bbeb983fe78217ba5f1c (diff) | |
download | rneovim-1fc7d6a0c514257cee9fb204cb83564b17354c11.tar.gz rneovim-1fc7d6a0c514257cee9fb204cb83564b17354c11.tar.bz2 rneovim-1fc7d6a0c514257cee9fb204cb83564b17354c11.zip |
Fix/add more files with to clint-files.txt
Diffstat (limited to 'src/os/env.c')
-rw-r--r-- | src/os/env.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/os/env.c b/src/os/env.c index a3053e3350..6d3e8bd683 100644 --- a/src/os/env.c +++ b/src/os/env.c @@ -55,12 +55,12 @@ char *os_getenvname_at_index(size_t index) } -long os_get_pid() +int64_t os_get_pid() { #ifdef _WIN32 - return (long)GetCurrentProcessId(); + return (int64_t)GetCurrentProcessId(); #else - return (long)getpid(); + return (int64_t)getpid(); #endif } @@ -76,7 +76,8 @@ void os_get_hostname(char *hostname, size_t len) hostname[len - 1] = '\0'; } #else - // TODO: Implement this for windows. See the implementation used in vim: + // TODO(unknown): Implement this for windows. + // See the implementation used in vim: // https://code.google.com/p/vim/source/browse/src/os_win32.c?r=6b69d8dde19e32909f4ee3a6337e6a2ecfbb6f72#2899 *hostname = '\0'; #endif |