1-byte offset should be safe

This commit is contained in:
tildearrow 2021-12-09 02:58:53 -05:00
parent 2dcf5f890e
commit e3f14f3850

View file

@ -651,7 +651,9 @@ bool DivEngine::load(void* f, size_t slen) {
}
if (reader.tell()<reader.size()) {
logW("premature end of song (we are at %x, but size is %x)\n",reader.tell(),reader.size());
if ((reader.tell()+1)!=reader.size()) {
logW("premature end of song (we are at %x, but size is %x)\n",reader.tell(),reader.size());
}
}
song=ds;