Skip to content

Commit 1fd6545

Browse files
committed
Typo fix.
1 parent 30646cc commit 1fd6545

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/amiga/decoder.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ AbstractDecoder::RecordType AmigaDecoder::advanceToNextRecord()
3232
void AmigaDecoder::decodeSectorRecord()
3333
{
3434
const auto& rawbits = readRawBits(AMIGA_RECORD_SIZE*16);
35-
if (rawbits < (AMIGA_RECORD_SIZE*16))
35+
if (rawbits.size() < (AMIGA_RECORD_SIZE*16))
3636
return;
3737
const auto& rawbytes = toBytes(rawbits).slice(0, AMIGA_RECORD_SIZE*2);
3838
const auto& bytes = decodeFmMfm(rawbits).slice(0, AMIGA_RECORD_SIZE);

0 commit comments

Comments
 (0)