diff --git a/basis/random/random.factor b/basis/random/random.factor index 0a21d003fa..242a9b8f31 100755 --- a/basis/random/random.factor +++ b/basis/random/random.factor @@ -16,7 +16,7 @@ GENERIC: random-bytes* ( n tuple -- byte-array ) @@ -39,7 +39,7 @@ M: f random-32* ( obj -- * ) no-random-number-generator ; : random-bytes ( n -- byte-array ) [ dup adjust-random random-generator get random-bytes* - ] keep head >byte-array ; + ] keep head-slice >byte-array ;