diff options
author | Jens Arnold <amiconn@rockbox.org> | 2007-04-07 00:14:16 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2007-04-07 00:14:16 +0000 |
commit | d6cb716697a1cb22af0c43bebf0933532d13ddb4 (patch) | |
tree | ee3ac2774a4f3b70d6e744adc7dc9328bdbeda03 /uisimulator | |
parent | f0ed594aaaa97334780b263d6f6e473563e1d6c0 (diff) | |
download | rockbox-d6cb716697a1cb22af0c43bebf0933532d13ddb4.tar.gz rockbox-d6cb716697a1cb22af0c43bebf0933532d13ddb4.zip |
Declare struct sim_dirent the same way as rockbox core's struct dirent. Fixes file time reading for 64 bit sims.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13053 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r-- | uisimulator/common/io.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 */ }; |