diff options
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() |