mirror of
https://github.com/reactos/syzkaller.git
synced 2024-11-28 05:40:26 +00:00
pkg/osutil: fix arm build
pkg/osutil/osutil_linux.go:44:13: cannot use info.Totalram (type uint32) as type uint64 in return argument
This commit is contained in:
parent
cb93629971
commit
51ca0454d7
@ -41,7 +41,7 @@ func RemoveAll(dir string) error {
|
|||||||
func SystemMemorySize() uint64 {
|
func SystemMemorySize() uint64 {
|
||||||
var info syscall.Sysinfo_t
|
var info syscall.Sysinfo_t
|
||||||
syscall.Sysinfo(&info)
|
syscall.Sysinfo(&info)
|
||||||
return info.Totalram
|
return uint64(info.Totalram) //nolint:unconvert
|
||||||
}
|
}
|
||||||
|
|
||||||
func removeImmutable(fname string) error {
|
func removeImmutable(fname string) error {
|
||||||
|
Loading…
Reference in New Issue
Block a user