From 328587eefc729ea943d7dff503bb9308f07e6dbb Mon Sep 17 00:00:00 2001 From: Damien Doligez Date: Wed, 2 Apr 2003 01:16:14 +0000 Subject: suppression d'un warning git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5475 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02 --- byterun/unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'byterun/unix.c') 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 -- cgit v1.2.3-70-g09d2