diff options
Diffstat (limited to 'nptl/sysdeps')
-rw-r--r-- | nptl/sysdeps/x86_64/tls.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/sysdeps/x86_64/tls.h b/nptl/sysdeps/x86_64/tls.h index f838916058..b651d1cfa8 100644 --- a/nptl/sysdeps/x86_64/tls.h +++ b/nptl/sysdeps/x86_64/tls.h @@ -256,7 +256,7 @@ typedef struct abort (); \ \ asm volatile ("movq %q0,%%fs:%P1" : \ - : IMM_MODE ((uint64_t) value), \ + : IMM_MODE ((uint64_t) (value)), \ "i" (offsetof (struct pthread, member))); \ }}) @@ -281,7 +281,7 @@ typedef struct abort (); \ \ asm volatile ("movq %q0,%%fs:%P1(,%q2,8)" : \ - : IMM_MODE ((uint64_t) value), \ + : IMM_MODE ((uint64_t) (value)), \ "i" (offsetof (struct pthread, member[0])), \ "r" (idx)); \ }}) |