aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2002-01-14 15:43:08 +0000
committerAndreas Jaeger <aj@suse.de>2002-01-14 15:43:08 +0000
commit037af25e67744bced50fa78a4317f45907950e02 (patch)
treef44f7dabd43c00f7fffd84ffb1129135dd24904b /linuxthreads
parentdb298de5c5059585bcbd0d461c337ea92aa62336 (diff)
downloadglibc-037af25e67744bced50fa78a4317f45907950e02.tar
glibc-037af25e67744bced50fa78a4317f45907950e02.tar.gz
glibc-037af25e67744bced50fa78a4317f45907950e02.tar.bz2
glibc-037af25e67744bced50fa78a4317f45907950e02.zip
* sysdeps/x86_64/pt-machine.h (INIT_THREAD_SELF): Avoid warning.
2002-01-14 Andreas Jaeger <aj@suse.de> * sysdeps/x86_64/pt-machine.h (INIT_THREAD_SELF): Avoid warning.
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/ChangeLog4
-rw-r--r--linuxthreads/sysdeps/x86_64/pt-machine.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index 655eacd0de..174b34f441 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,7 @@
+2002-01-14 Andreas Jaeger <aj@suse.de>
+
+ * sysdeps/x86_64/pt-machine.h (INIT_THREAD_SELF): Avoid warning.
+
2002-01-11 Andreas Schwab <schwab@suse.de>
* signals.c (sighandler): Initialize all elements to SIG_ERR.
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 (); \
}