aboutsummaryrefslogtreecommitdiff
path: root/nptl/sysdeps/x86_64/tls.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-05-11 10:14:57 -0700
committerH.J. Lu <hjl.tools@gmail.com>2012-05-11 10:14:57 -0700
commita04e06bc4ce68f639ea074b82a4a1713889364d2 (patch)
tree699b3ac029dd11c2ac2dceeaacf97f2c210946ca /nptl/sysdeps/x86_64/tls.h
parent512ec530c7b6f29767bac4ff4c410a9b6390ce1b (diff)
downloadglibc-a04e06bc4ce68f639ea074b82a4a1713889364d2.tar
glibc-a04e06bc4ce68f639ea074b82a4a1713889364d2.tar.gz
glibc-a04e06bc4ce68f639ea074b82a4a1713889364d2.tar.bz2
glibc-a04e06bc4ce68f639ea074b82a4a1713889364d2.zip
Use uint64_t on 64-bit integer
Diffstat (limited to 'nptl/sysdeps/x86_64/tls.h')
-rw-r--r--nptl/sysdeps/x86_64/tls.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/sysdeps/x86_64/tls.h b/nptl/sysdeps/x86_64/tls.h
index 6e80a02eb0..77f04f2029 100644
--- a/nptl/sysdeps/x86_64/tls.h
+++ b/nptl/sysdeps/x86_64/tls.h
@@ -261,7 +261,7 @@ typedef struct
abort (); \
\
asm volatile ("movq %q0,%%fs:%P1" : \
- : IMM_MODE ((unsigned long int) value), \
+ : IMM_MODE ((uint64_t) value), \
"i" (offsetof (struct pthread, member))); \
}})
@@ -286,7 +286,7 @@ typedef struct
abort (); \
\
asm volatile ("movq %q0,%%fs:%P1(,%q2,8)" : \
- : IMM_MODE ((unsigned long int) value), \
+ : IMM_MODE ((uint64_t) value), \
"i" (offsetof (struct pthread, member[0])), \
"r" (idx)); \
}})