fix the type declaration on Windows

pull/4/head
WAKAYAMA Shirou 11 years ago
parent 5f37278918
commit 5ae1c91744

@ -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)))

Loading…
Cancel
Save