summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-04-07 00:14:16 +0000
committerJens Arnold <amiconn@rockbox.org>2007-04-07 00:14:16 +0000
commitd6cb716697a1cb22af0c43bebf0933532d13ddb4 (patch)
treeee3ac2774a4f3b70d6e744adc7dc9328bdbeda03
parentf0ed594aaaa97334780b263d6f6e473563e1d6c0 (diff)
downloadrockbox-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
-rw-r--r--uisimulator/common/io.c4
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);
67struct sim_dirent { 67struct sim_dirent {
68 unsigned char d_name[MAX_PATH]; 68 unsigned char d_name[MAX_PATH];
69 int attribute; 69 int attribute;
70 int size; 70 long size;
71 int startcluster; 71 long startcluster;
72 unsigned short wrtdate; /* Last write date */ 72 unsigned short wrtdate; /* Last write date */
73 unsigned short wrttime; /* Last write time */ 73 unsigned short wrttime; /* Last write time */
74}; 74};