summaryrefslogtreecommitdiffstats
path: root/otherlibs/labltk/support/cltkMisc.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/labltk/support/cltkMisc.c')
-rw-r--r--otherlibs/labltk/support/cltkMisc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/labltk/support/cltkMisc.c b/otherlibs/labltk/support/cltkMisc.c
index 2640427a7..f16928fb8 100644
--- a/otherlibs/labltk/support/cltkMisc.c
+++ b/otherlibs/labltk/support/cltkMisc.c
@@ -50,7 +50,7 @@ char *string_to_c(value s)
{
int l = string_length(s);
char *res = stat_alloc(l + 1);
- bcopy(String_val(s),res,l);
+ memmove (res, String_val (s), l);
res[l] = '\0';
return res;
}