mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-21 15:56:58 +02:00
Update external libraries and fix C++ on older versions of GCC.
This commit is contained in:
+1
-1
@@ -85,7 +85,7 @@ void* open_and_read_file_data(const char* filePath, size_t* pSizeOut)
|
||||
mal_uint64 fileSize = ftell(pFile);
|
||||
fseek(pFile, 0, SEEK_SET);
|
||||
|
||||
if (fileSize > SIZE_MAX) {
|
||||
if (fileSize > MAL_SIZE_MAX) {
|
||||
fclose(pFile);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user