summaryrefslogtreecommitdiff
path: root/soltools/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'soltools/cpp')
-rw-r--r--soltools/cpp/_tokens.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/soltools/cpp/_tokens.c b/soltools/cpp/_tokens.c
index bd75a0159f93..e31ccbd1c4ff 100644
--- a/soltools/cpp/_tokens.c
+++ b/soltools/cpp/_tokens.c
@@ -492,7 +492,7 @@ void
{
if ( write(1, wbuf, OBS) != -1 ) {
if (wbp > &wbuf[OBS])
- memcpy(wbuf, wbuf + OBS, wbp - &wbuf[OBS]);
+ memmove(wbuf, wbuf + OBS, wbp - &wbuf[OBS]);
wbp -= OBS;
}
else exit(1);