about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/i386/tlsdesc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/i386/tlsdesc.c b/sysdeps/i386/tlsdesc.c
index 3e9af2f743..28287d574b 100644
--- a/sysdeps/i386/tlsdesc.c
+++ b/sysdeps/i386/tlsdesc.c
@@ -199,7 +199,7 @@ _dl_tlsdesc_resolve_rela_fixup (struct tlsdesc volatile *td,
 
   if (!sym)
     {
-      td->arg = (void*).reloc->r_addend;
+      td->arg = (void*) reloc->r_addend;
       td->entry = _dl_tlsdesc_undefweak;
     }
   else
@@ -216,8 +216,8 @@ _dl_tlsdesc_resolve_rela_fixup (struct tlsdesc volatile *td,
       else
 #  endif
 	{
-	  td->arg = (void*).(sym->st_value - result->l_tls_offset
-			 .   + reloc->r_addend);
+	  td->arg = (void*) (sym->st_value - result->l_tls_offset
+			     + reloc->r_addend);
 	  td->entry = _dl_tlsdesc_return;
 	}
     }