[cmucl-cvs] CMUCL commit: cross-sol-x86-branch src/lisp (os-common.c)

Raymond Toy rtoy at common-lisp.net
Mon Dec 20 23:35:02 UTC 2010


    Date: Monday, December 20, 2010 @ 18:35:02
  Author: rtoy
    Path: /project/cmucl/cvsroot/src/lisp
     Tag: cross-sol-x86-branch

Modified: os-common.c

Fix warning from SunStudio 12.2 about passing a void funtion to a void
pointer.  Cast to void pointer.


-------------+
 os-common.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


Index: src/lisp/os-common.c
diff -u src/lisp/os-common.c:1.32 src/lisp/os-common.c:1.32.2.1
--- src/lisp/os-common.c:1.32	Sat Dec  4 12:32:34 2010
+++ src/lisp/os-common.c	Mon Dec 20 18:35:02 2010
@@ -1,6 +1,6 @@
 /*
 
- $Header: /project/cmucl/cvsroot/src/lisp/os-common.c,v 1.32 2010-12-04 17:32:34 rtoy Exp $
+ $Header: /project/cmucl/cvsroot/src/lisp/os-common.c,v 1.32.2.1 2010-12-20 23:35:02 rtoy Exp $
 
  This code was written as part of the CMU Common Lisp project at
  Carnegie Mellon University, and has been placed in the public domain.
@@ -235,7 +235,7 @@
 			(char *) c_symbol_name);
 		lose("First element of linkage_data is bogus.\n");
 	    }
-	    arch_make_linkage_entry(i, &resolve_linkage_tramp, 1);
+	    arch_make_linkage_entry(i, (void *) &resolve_linkage_tramp, 1);
 #endif
 	    continue;
 	}




More information about the cmucl-cvs mailing list