From 0caab530fbe8341e4a680e9d7b1ea032c52a1152 Mon Sep 17 00:00:00 2001 From: Timothee Cour Date: Mon, 3 Dec 2018 12:51:28 -0800 Subject: [PATCH] fixup --- lib/pure/osproc.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pure/osproc.nim b/lib/pure/osproc.nim index abe20e91a0..2bbcc04176 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()