From 8251d2b24420905753a83a42ea5c2682a4114cef Mon Sep 17 00:00:00 2001 From: Cacodemon345 Date: Tue, 24 Aug 2021 14:23:12 +0600 Subject: [PATCH] Change ftello64 to ftell since it got truncated anyway --- src/disk/mo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */