summaryrefslogtreecommitdiffstats
path: root/byterun/unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'byterun/unix.c')
-rw-r--r--byterun/unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/byterun/unix.c b/byterun/unix.c
index c47544217..1e47b720e 100644
--- a/byterun/unix.c
+++ b/byterun/unix.c
@@ -217,7 +217,7 @@ char * caml_dlerror(void)
const char *fileName, *errorString;
if (dlerror_string != NULL) return dlerror_string;
NSLinkEditError(&c,&errnum,&fileName,&errorString);
- return errorString;
+ return (char *) errorString;
}
#else