1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-09 23:34:20 +00:00
This commit is contained in:
jules 2007-06-27 13:54:42 +00:00
parent 315a8ea1f5
commit 22f13ffbec

View file

@ -100,7 +100,7 @@ void BufferedInputStream::ensureBuffered()
&& position >= bufferStart)
{
const int bytesToKeep = (int) (lastReadPos - position);
memcpy (buffer, buffer + position - bufferStart, bytesToKeep);
memmove (buffer, buffer + position - bufferStart, bytesToKeep);
bufferStart = position;