summaryrefslogtreecommitdiff
path: root/uisimulator/common/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/common/io.c')
-rw-r--r--uisimulator/common/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uisimulator/common/io.c b/uisimulator/common/io.c
index 56f1339fbc..3591905e32 100644
--- a/uisimulator/common/io.c
+++ b/uisimulator/common/io.c
@@ -526,7 +526,7 @@ int sim_fsync(int fd)
526 526
527#ifndef __PCTOOL__ 527#ifndef __PCTOOL__
528 528
529void *lc_open(const char *filename, char *buf, size_t buf_size) 529void *lc_open(const char *filename, unsigned char *buf, size_t buf_size)
530{ 530{
531 const char *sim_path = get_sim_pathname(filename); 531 const char *sim_path = get_sim_pathname(filename);
532 void *handle = _lc_open(UTF8_TO_OS(sim_path), buf, buf_size); 532 void *handle = _lc_open(UTF8_TO_OS(sim_path), buf, buf_size);