Change ftello64 to ftell since it got truncated anyway

This commit is contained in:
Cacodemon345
2021-08-24 14:23:12 +06:00
parent 5cdfcb099c
commit 8251d2b244

View File

@@ -361,7 +361,7 @@ mo_load(mo_t *dev, char *fn)
}
fseek(dev->drv->f, 0, SEEK_END);
size = (uint32_t) ftello64(dev->drv->f);
size = (uint32_t) ftell(dev->drv->f);
if (is_mdi) {
/* This is a MDI image. */