summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJake Burkholder <jake@FreeBSD.org>2002-05-13 04:26:38 +0000
committerJake Burkholder <jake@FreeBSD.org>2002-05-13 04:26:38 +0000
commit20409ddf2251a21d40eeffa62bbd992469a2f1fc (patch)
tree783aa15690faa4901b276f41d0347d04a909a98b
parent6f98452b383e61bb581a529755780845b3128460 (diff)
Notes
-rw-r--r--sys/sparc64/include/instr.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sparc64/include/instr.h b/sys/sparc64/include/instr.h
index 51f030098b59..7ac514daa71e 100644
--- a/sys/sparc64/include/instr.h
+++ b/sys/sparc64/include/instr.h
@@ -148,7 +148,8 @@
/* Sign-extend a field of width W */
#define IF_SEXT(x, w) \
- (((x) & (1 << ((w) - 1))) != 0 ? (-1L - ((x) ^ ((1 << (w)) - 1))) : (x))
+ (((x) & (1L << ((w) - 1))) != 0 ? \
+ (-1L - ((x) ^ ((1L << (w)) - 1))) : (x))
#if 0
/*