diff --git a/core/io/encodings/encodings.factor b/core/io/encodings/encodings.factor index 9da1d6b03b..2ee100dd52 100644 --- a/core/io/encodings/encodings.factor +++ b/core/io/encodings/encodings.factor @@ -42,7 +42,7 @@ CONSTANT: replacement-char 0xfffd : string>byte-array-fast ( string -- byte-array ) { string } declare ! aux>> must be f - [ length ] keep over [ + [ length ] keep over (byte-array) [ [ [ [ string-nth-fast ] 2keep drop ] [ set-nth-unsafe ] bi*