diff --git a/uisimulator/common/io.c b/uisimulator/common/io.c index 536c28ebe1..fec9b2611c 100644 --- a/uisimulator/common/io.c +++ b/uisimulator/common/io.c @@ -67,8 +67,8 @@ void dircache_rename(const char *oldpath, const char *newpath); struct sim_dirent { unsigned char d_name[MAX_PATH]; int attribute; - int size; - int startcluster; + long size; + long startcluster; unsigned short wrtdate; /* Last write date */ unsigned short wrttime; /* Last write time */ };