[Git][cmucl/cmucl][sparc64-dev] Use correct return type

Raymond Toy rtoy at common-lisp.net
Wed Dec 28 18:33:53 UTC 2016


Raymond Toy pushed to branch sparc64-dev at cmucl / cmucl


Commits:
f90918b8 by Raymond Toy at 2016-12-28T10:33:41-08:00
Use correct return type

For sparc64, solaris_register_address returns pointers to longs, not
ints.

- - - - -


1 changed file:

- src/lisp/solaris-os.c


Changes:

=====================================
src/lisp/solaris-os.c
=====================================
--- a/src/lisp/solaris-os.c
+++ b/src/lisp/solaris-os.c
@@ -311,7 +311,7 @@ os_install_interrupt_handlers(void)
 /* function definitions for register lvalues */
 
 #ifndef i386
-int *
+long *
 solaris_register_address(struct ucontext *context, int reg)
 {
     if (reg == 0) {



View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/commit/f90918b84b6afb351c130538e85e439a93a5d513
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/cmucl-cvs/attachments/20161228/70f2e633/attachment.html>


More information about the cmucl-cvs mailing list