X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fx86-linux-os.h;h=6e688c66211bf657f5774ab2e02de600ff46a8bc;hb=8a632c14b592472873cfb214239c9387bc1a1ced;hp=90b34c0105d90f7b3735b727abc29ca2014a6691;hpb=d767105094f5836327f9389b061f83a44240a279;p=sbcl.git diff --git a/src/runtime/x86-linux-os.h b/src/runtime/x86-linux-os.h index 90b34c0..6e688c6 100644 --- a/src/runtime/x86-linux-os.h +++ b/src/runtime/x86-linux-os.h @@ -2,9 +2,10 @@ #define _X86_LINUX_OS_H typedef struct ucontext os_context_t; -typedef long os_context_register_t; +typedef greg_t os_context_register_t; -static inline os_context_t *arch_os_get_context(void **void_context) { +static inline os_context_t *arch_os_get_context(void **void_context) +{ return (os_context_t *) *void_context; }