summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2018-12-03 12:51:28 -0800
committerTimothee Cour <timothee.cour2@gmail.com>2018-12-03 12:51:28 -0800
commit0caab530fbe8341e4a680e9d7b1ea032c52a1152 (patch)
treeb8b904ef6c1c1406b6a917217bb649e8d16e795c /lib
parente7ab4817e255e8206660fe3d9f8edd29422aaf32 (diff)
downloadNim-0caab530fbe8341e4a680e9d7b1ea032c52a1152.tar.gz
fixup
Diffstat (limited to 'lib')
-rw-r--r--lib/pure/osproc.nim2
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()