mirror of
https://github.com/reactos/syzkaller.git
synced 2024-11-28 05:40:26 +00:00
prog: fix 32-bit build
Currently fails with: prog/mutation.go:442:24: constant 4294967296 overflows int
This commit is contained in:
parent
42467f5b7b
commit
bc09be4253
@ -439,7 +439,7 @@ loop:
|
||||
}
|
||||
i := r.Intn(len(data) - 3)
|
||||
p := (*uint32)(unsafe.Pointer(&data[i]))
|
||||
*p = uint32(r.rand(1 << 32))
|
||||
*p = r.Uint32()
|
||||
case 3: // int64
|
||||
if len(data) < 8 {
|
||||
retry = true
|
||||
|
Loading…
Reference in New Issue
Block a user