diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2018-12-03 12:51:28 -0800 |
---|---|---|
committer | Timothee Cour <timothee.cour2@gmail.com> | 2018-12-03 12:51:28 -0800 |
commit | 0caab530fbe8341e4a680e9d7b1ea032c52a1152 (patch) | |
tree | b8b904ef6c1c1406b6a917217bb649e8d16e795c /lib | |
parent | e7ab4817e255e8206660fe3d9f8edd29422aaf32 (diff) | |
download | Nim-0caab530fbe8341e4a680e9d7b1ea032c52a1152.tar.gz |
fixup
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pure/osproc.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/osproc.nim b/lib/pure/osproc.nim index abe20e91a..2bbcc0417 100644 --- a/lib/pure/osproc.nim +++ b/lib/pure/osproc.nim @@ -164,7 +164,7 @@ proc processID*(): int = type DWORD = uint32 proc GetCurrentProcessId(): DWORD {.stdcall, dynlib: "kernel32", importc: "GetCurrentProcessId".} - result = GetCurrentProcessId() + result = GetCurrentProcessId().int else: result = getpid() |