diff options
-rw-r--r-- | uisimulator/common/io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uisimulator/common/io.c b/uisimulator/common/io.c index cb8064c7d7..6335735f8f 100644 --- a/uisimulator/common/io.c +++ b/uisimulator/common/io.c | |||
@@ -227,7 +227,7 @@ int sim_rename(const char *oldpath, const char* newpath) | |||
227 | return -1; | 227 | return -1; |
228 | } | 228 | } |
229 | 229 | ||
230 | int sim_filesize(int fd) | 230 | off_t sim_filesize(int fd) |
231 | { | 231 | { |
232 | int old = lseek(fd, 0, SEEK_CUR); | 232 | int old = lseek(fd, 0, SEEK_CUR); |
233 | int size = lseek(fd, 0, SEEK_END); | 233 | int size = lseek(fd, 0, SEEK_END); |