Fixed potential conflict with standard memset
svn-id: r20552
This commit is contained in:
parent
fc556b789a
commit
a76f3f1b6e
4 changed files with 5 additions and 5 deletions
|
@ -41,7 +41,7 @@ void PictureDecoder::writeByte(MemoryBlock *dest, byte v) {
|
|||
void PictureDecoder::writeBytes(MemoryBlock *dest, byte v, uint16 numBytes) {
|
||||
if (outputOffset + numBytes > dest->size())
|
||||
error("Decoded data exceeded allocated output buffer size");
|
||||
dest->memset(v, outputOffset, numBytes);
|
||||
dest->memorySet(v, outputOffset, numBytes);
|
||||
outputOffset += numBytes;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue