aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--prog/mutation.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/prog/mutation.go b/prog/mutation.go
index 85a718a80..2e1039551 100644
--- a/prog/mutation.go
+++ b/prog/mutation.go
@@ -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