mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-21 12:49:10 +00:00
Convert custom HeadSpin integer types to standard types from stdint.h
This commit is contained in:
@ -164,11 +164,11 @@ void plAudioFileReader::ICacheFile(const char* path, bool noOverwrite, plAudioCo
|
||||
return;
|
||||
}
|
||||
|
||||
UInt8 buffer[4096];
|
||||
UInt32 numLeft;
|
||||
uint8_t buffer[4096];
|
||||
uint32_t numLeft;
|
||||
while ((numLeft = reader->NumBytesLeft()) > 0)
|
||||
{
|
||||
UInt32 toRead = (numLeft < sizeof(buffer)) ? numLeft : sizeof(buffer);
|
||||
uint32_t toRead = (numLeft < sizeof(buffer)) ? numLeft : sizeof(buffer);
|
||||
reader->Read(toRead, buffer);
|
||||
writer->Write(toRead, buffer);
|
||||
}
|
||||
|
Reference in New Issue
Block a user