Skip to content

Commit

Permalink
fix the type declaration on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
shirou committed May 18, 2014
1 parent 5f37278 commit 5ae1c91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion host_windows.go
Expand Up @@ -38,7 +38,7 @@ func HostInfo() (*HostInfoStat, error) {
return ret, nil
}

func BootTime() (int64, error) {
func BootTime() (uint64, error) {
var lpSystemTimeAsFileTime FILETIME

r, _, _ := procGetSystemTimeAsFileTime.Call(uintptr(unsafe.Pointer(&lpSystemTimeAsFileTime)))
Expand Down

0 comments on commit 5ae1c91

Please sign in to comment.