summaryrefslogtreecommitdiff
path: root/bdb/include/mutex.h
diff options
context:
space:
mode:
Diffstat (limited to 'bdb/include/mutex.h')
-rw-r--r--bdb/include/mutex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bdb/include/mutex.h b/bdb/include/mutex.h
index 4c1b265355d..9f341695cbf 100644
--- a/bdb/include/mutex.h
+++ b/bdb/include/mutex.h
@@ -327,7 +327,7 @@ typedef unsigned char tsl_t;
*/
#define MUTEX_SET(tsl) ({ \
register tsl_t *__l = (tsl); \
- int __r; \
+ unsigned char __r; \
asm volatile("tas %1; \n \
seq %0" \
: "=dm" (__r), "=m" (*__l) \