mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-09 23:34:20 +00:00
This commit is contained in:
parent
315a8ea1f5
commit
22f13ffbec
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue