diff options
Diffstat (limited to 'otherlibs/win32unix/winwait.c')
-rw-r--r-- | otherlibs/win32unix/winwait.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/win32unix/winwait.c b/otherlibs/win32unix/winwait.c index db3a62dde..0a68076b4 100644 --- a/otherlibs/win32unix/winwait.c +++ b/otherlibs/win32unix/winwait.c @@ -28,7 +28,7 @@ static value alloc_process_status(HANDLE pid, int status) Field(st, 0) = Val_int(status); Begin_root (st); res = alloc_small(2, 0); - Field(res, 0) = Val_long((long) pid); + Field(res, 0) = Val_long((intnat) pid); Field(res, 1) = st; End_roots(); return res; |