summary refs log tree commit diff
path: root/linuxthreads/sysdeps/ia64/pt-machine.h
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/sysdeps/ia64/pt-machine.h')
-rw-r--r--linuxthreads/sysdeps/ia64/pt-machine.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/linuxthreads/sysdeps/ia64/pt-machine.h b/linuxthreads/sysdeps/ia64/pt-machine.h
index 58cccc2962..a243c8b577 100644
--- a/linuxthreads/sysdeps/ia64/pt-machine.h
+++ b/linuxthreads/sysdeps/ia64/pt-machine.h
@@ -58,7 +58,7 @@ register struct _pthread_descr_struct *__thread_self __asm__("r13");
 
 #define HAS_COMPARE_AND_SWAP_WITH_RELEASE_SEMANTICS
 
-PT_EI long int
+PT_EI int
 __compare_and_swap (long int *p, long int oldval, long int newval)
 {
   long int readval;
@@ -72,7 +72,7 @@ __compare_and_swap (long int *p, long int oldval, long int newval)
   return readval == oldval;
 }
 
-PT_EI long int
+PT_EI int
 __compare_and_swap_with_release_semantics (long int *p,
 					   long int oldval,
 					   long int newval)