X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fdynbind.c;h=8d8da8c73f96fb3d5bb48f7c7429ec9697712a58;hb=bcd323c39d6f5f80020ba4a5d9eb8d348c6cc499;hp=9e928a3f335efb80fac2e1faf090ad05391ef42e;hpb=e6f4c7523aa628ece995ee01879d3fb90eed6d9f;p=sbcl.git diff --git a/src/runtime/dynbind.c b/src/runtime/dynbind.c index 9e928a3..8d8da8c 100644 --- a/src/runtime/dynbind.c +++ b/src/runtime/dynbind.c @@ -40,7 +40,7 @@ void bind_variable(lispobj symbol, lispobj value, void *th) &((struct symbol *)native_pointer(TLS_INDEX_LOCK))->value; FSHOW_SIGNAL((stderr, "entering dynbind tls alloc\n")); set_pseudo_atomic_atomic(thread); - get_spinlock(tls_index_lock,(long)th); + get_spinlock(tls_index_lock,(uword_t)th); if(!sym->tls_index) { sym->tls_index=SymbolValue(FREE_TLS_INDEX,0); SetSymbolValue(FREE_TLS_INDEX, sym->tls_index+N_WORD_BYTES, 0);