aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/sysdeps/x86_64/pt-machine.h
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/sysdeps/x86_64/pt-machine.h')
-rw-r--r--linuxthreads/sysdeps/x86_64/pt-machine.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/linuxthreads/sysdeps/x86_64/pt-machine.h b/linuxthreads/sysdeps/x86_64/pt-machine.h
index fa664746ef..17caf6c258 100644
--- a/linuxthreads/sysdeps/x86_64/pt-machine.h
+++ b/linuxthreads/sysdeps/x86_64/pt-machine.h
@@ -1,6 +1,6 @@
/* Machine-dependent pthreads configuration and inline functions.
x86-64 version.
- Copyright (C) 2001 Free Software Foundation, Inc.
+ Copyright (C) 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -87,7 +87,7 @@ extern int __arch_prctl (int __code, unsigned long __addr);
/* Initialize the thread-unique value. */
#define INIT_THREAD_SELF(descr, nr) \
{ \
- if (__arch_prctl (ARCH_SET_GS, descr) != 0) \
+ if (__arch_prctl (ARCH_SET_GS, (unsigned long)descr) != 0) \
abort (); \
}