mirror of
https://github.com/taglib/taglib.git
synced 2025-05-27 13:10:26 -04:00
Merge remote-tracking branch 'TsudaKageyu/chunksize'
This commit is contained in:
commit
9b5869ea37
@ -273,7 +273,7 @@ void RIFF::File::read()
|
||||
break;
|
||||
}
|
||||
|
||||
if(tell() + chunkSize > uint(length())) {
|
||||
if(static_cast<ulonglong>(tell()) + chunkSize > static_cast<ulonglong>(length())) {
|
||||
debug("RIFF::File::read() -- Chunk '" + chunkName + "' has invalid size (larger than the file size)");
|
||||
setValid(false);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user