about summary refs log tree commit diff
path: root/linuxthreads/sysdeps/hppa/pt-machine.h
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/sysdeps/hppa/pt-machine.h')
-rw-r--r--linuxthreads/sysdeps/hppa/pt-machine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linuxthreads/sysdeps/hppa/pt-machine.h b/linuxthreads/sysdeps/hppa/pt-machine.h
index bc0d2d655f..4035349f48 100644
--- a/linuxthreads/sysdeps/hppa/pt-machine.h
+++ b/linuxthreads/sysdeps/hppa/pt-machine.h
@@ -38,7 +38,7 @@ register char * stack_pointer __asm__ ("%r30");
 #define xstr(s) str(s)
 #define str(s) #s
 /* Spinlock implementation; required.  */
-PT_EI int
+PT_EI long int
 testandset (int *spinlock)
 {
   int ret;