--- linuxthreads/sysdeps/m68k/pspinlock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/linuxthreads/sysdeps/m68k/pspinlock.c +++ b/linuxthreads/sysdeps/m68k/pspinlock.c @@ -25,7 +25,7 @@ int __pthread_spin_lock (pthread_spinlock_t *lock) { - unsigned int val; + unsigned char val; do asm volatile ("tas %1; sne %0" @@ -42,7 +42,7 @@ int __pthread_spin_trylock (pthread_spinlock_t *lock) { - unsigned int val; + unsigned char val; asm volatile ("tas %1; sne %0" : "=dm" (val), "=m" (*lock)