aboutsummaryrefslogtreecommitdiff
path: root/src/libmach/machpower.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-04-20 02:03:38 +0000
committerrsc <devnull@localhost>2004-04-20 02:03:38 +0000
commita0f1e21ff939612898d63ae2245e47dffc1a8153 (patch)
tree581f62db3bad2c54d60cb54b6e577787f55071af /src/libmach/machpower.c
parente637c944febf271252e59742aa108d6e0a527eb7 (diff)
downloadplan9port-a0f1e21ff939612898d63ae2245e47dffc1a8153.tar.gz
plan9port-a0f1e21ff939612898d63ae2245e47dffc1a8153.tar.bz2
plan9port-a0f1e21ff939612898d63ae2245e47dffc1a8153.zip
make things work on SunOS
Diffstat (limited to 'src/libmach/machpower.c')
-rw-r--r--src/libmach/machpower.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmach/machpower.c b/src/libmach/machpower.c
index f1288fce..c704be7f 100644
--- a/src/libmach/machpower.c
+++ b/src/libmach/machpower.c
@@ -663,7 +663,7 @@ static char rlimi[] = "$%k,R%s,$%z,R%a";
#define OEM IBF(~0,22,30)
#define FP4 IBF(~0,26,30)
-#define ALL (~0)
+#define ALL ((ushort)~0)
/*
notes:
10-26: crfD = rD>>2; rD&3 mbz