From dd8e42a8b44a7e6de524d2c055b703d3bc2a28ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Wed, 8 Jan 2003 09:14:16 +0000 Subject: [PATCH] Also changed the (void *) to (void **) variable in tls_address() here (the same change has already been done in support/TLS.h). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2392 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/libroot/os/arch/x86/tls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kernel/libroot/os/arch/x86/tls.c b/src/kernel/libroot/os/arch/x86/tls.c index 0cb1f26cc7..0776ee0948 100644 --- a/src/kernel/libroot/os/arch/x86/tls.c +++ b/src/kernel/libroot/os/arch/x86/tls.c @@ -41,7 +41,7 @@ tls_get(int32 index) void ** tls_address(int32 index) { - void *ret; + void **ret; __asm__ __volatile__ ( "movl %%fs:0, %%eax \n\t" "leal (%%eax, %%edx, 4), %%eax \n\t"