about summary refs log tree commit diff
path: root/nptl/sysdeps/s390/pthread_spin_trylock.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/sysdeps/s390/pthread_spin_trylock.c')
-rw-r--r--nptl/sysdeps/s390/pthread_spin_trylock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/sysdeps/s390/pthread_spin_trylock.c b/nptl/sysdeps/s390/pthread_spin_trylock.c
index 8ed0a36647..0153b65dad 100644
--- a/nptl/sysdeps/s390/pthread_spin_trylock.c
+++ b/nptl/sysdeps/s390/pthread_spin_trylock.c
@@ -24,7 +24,7 @@ int
 pthread_spin_trylock (lock)
      pthread_spinlock_t *lock;
 {
-  unsigned long int old;
+  int old;
 
   __asm __volatile ("cs %0,%3,%1"
 		    : "=d" (old), "=Q" (*lock)