Use uintptr_t for buffer size calculations

This commit is contained in:
Stephen F. Booth 2024-12-07 19:48:28 -06:00
parent e3497311e0
commit dee308f90c
No known key found for this signature in database
GPG Key ID: 900AAC885063A183

View File

@ -448,7 +448,7 @@ void SHN::File::read(AudioProperties::ReadStyle propertiesStyle)
// auto chunkSize = read_uint_big32(header_bytes, 4);
const auto chunkData = header_bytes + 8;
const auto size = header_size - 8;
const uintptr_t size = header_size - 8;
// WAVE
if(chunkID == 'RIFF') {