diff --git a/src/timers/windows.jl b/src/timers/windows.jl index d12e4613..346f88c7 100644 --- a/src/timers/windows.jl +++ b/src/timers/windows.jl @@ -37,7 +37,7 @@ end kernel_time = Ref{FileTime}() user_time = Ref{FileTime}() - ccall(:GetProccessTimes, Cint, (HANDLE, Ref{FileTime}, Ref{FileTime}, Ref{FileTime}, Ref{FileTime}), + ccall(:GetProcessTimes, Cint, (HANDLE, Ref{FileTime}, Ref{FileTime}, Ref{FileTime}, Ref{FileTime}), proc, creation_time, exit_time, kernel_time, user_time) - return maketime(kernel_time, user_time) + return maketime(kernel_time[], user_time[]) end