diff options
Diffstat (limited to 'idlc')
-rw-r--r-- | idlc/source/preproc/tokens.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/idlc/source/preproc/tokens.c b/idlc/source/preproc/tokens.c index b8dbd45c5..3c6481397 100644 --- a/idlc/source/preproc/tokens.c +++ b/idlc/source/preproc/tokens.c @@ -477,7 +477,7 @@ void if (write(1, wbuf, OBS) != OBS) error(ERROR, "short write!"); if (wbp > &wbuf[OBS]) - memcpy(wbuf, wbuf + OBS, wbp - &wbuf[OBS]); + memmove(wbuf, wbuf + OBS, wbp - &wbuf[OBS]); wbp -= OBS; } } |