Browse Source

tags/2021-05-28
jules 18 years ago
parent
commit
22f13ffbec
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/juce_core/io/streams/juce_BufferedInputStream.cpp

+ 1
- 1
src/juce_core/io/streams/juce_BufferedInputStream.cpp View File

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


Loading…
Cancel
Save