cleanup: fix util

This commit is contained in:
bnnm 2024-08-07 22:36:35 +02:00
parent 21b3067a7c
commit 8515d2beee

View File

@ -33,7 +33,7 @@ static inline int guess_endian32(off_t offset, STREAMFILE* sf) {
}
static inline read_u32_t guess_read_u32(off_t offset, STREAMFILE* sf) {
return guess_endian32(0x08,sf) ? read_u32be : read_u32le;
return guess_endian32(offset,sf) ? read_u32be : read_u32le;
}
#endif