diff --git a/src/disk/mo.c b/src/disk/mo.c index fb02af39d..d6924a438 100644 --- a/src/disk/mo.c +++ b/src/disk/mo.c @@ -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. */