diff options
Diffstat (limited to 'byterun/str.c')
-rw-r--r-- | byterun/str.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/byterun/str.c b/byterun/str.c index 102912a95..51ff4aa9f 100644 --- a/byterun/str.c +++ b/byterun/str.c @@ -80,7 +80,7 @@ value string_notequal(value s1, value s2) /* ML */ value blit_string(value s1, value ofs1, value s2, value ofs2, value n) /* ML */ { - bcopy(&Byte(s1, Long_val(ofs1)), &Byte(s2, Long_val(ofs2)), Int_val(n)); + memmove(&Byte(s2, Long_val(ofs2)), &Byte(s1, Long_val(ofs1)), Int_val(n)); return Val_unit; } |