X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fmips-linux-os.h;h=cc442b124f5c4de341febeaea31c20d9f0984702;hb=bf40ae88bc289fd765a33861cc4bc0853ed483ba;hp=02d53f032650998fc022e88e03534ad2e296ae50;hpb=4ae1b794a5d6a90794468cf8017f5307f2c30dfe;p=sbcl.git diff --git a/src/runtime/mips-linux-os.h b/src/runtime/mips-linux-os.h index 02d53f0..cc442b1 100644 --- a/src/runtime/mips-linux-os.h +++ b/src/runtime/mips-linux-os.h @@ -4,11 +4,12 @@ typedef struct ucontext os_context_t; typedef unsigned long long 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; } -unsigned long os_context_fp_control(os_context_t *context); +unsigned int os_context_fp_control(os_context_t *context); void os_restore_fp_control(os_context_t *context); unsigned int os_context_bd_cause(os_context_t *context);