summary refs log tree commit diff stats
path: root/lib/pure
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/pure
parente7ab4817e255e8206660fe3d9f8edd29422aaf32 (diff)
downloadNim-0caab530fbe8341e4a680e9d7b1ea032c52a1152.tar.gz
fixup
Diffstat (limited to 'lib/pure')
-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()
 
gt; 2009-12-27 22:52:14 +0100 improved key binding implementation' href='/akspecs/ranger/commit/ranger/keyapi.py?id=70aec44f8b5fb168e5f10fbeec332be75f0d67f0'>70aec44f ^
24821ca5 ^
70aec44f ^
feaf9e0a ^
70aec44f ^
1120d70c ^









70aec44f ^




79f37c34 ^

84701093 ^



d492db52 ^
70aec44f ^
84701093 ^
d492db52 ^

84701093 ^

70aec44f ^

70aec44f ^








84701093 ^



d6e2900a ^
84701093 ^
d6e2900a ^
84701093 ^




d492db52 ^
84701093 ^












84701093 ^

d492db52 ^
84701093 ^








70aec44f ^
84701093 ^



d492db52 ^

84701093 ^

84701093 ^





7b4ef308 ^
84701093 ^
d492db52 ^









84701093 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130