aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2006-01-17 01:33:12 +0000
committerrsc <devnull@localhost>2006-01-17 01:33:12 +0000
commitfc1d5d8c32f9c963b1d0de40f95d633f9d106e48 (patch)
tree51514feea67eae3da92fd1db589b46f4fb821376 /include
parentcd1d0ab0b5ed07c03b066731328e9519cba5914c (diff)
downloadplan9port-fc1d5d8c32f9c963b1d0de40f95d633f9d106e48.tar.gz
plan9port-fc1d5d8c32f9c963b1d0de40f95d633f9d106e48.tar.bz2
plan9port-fc1d5d8c32f9c963b1d0de40f95d633f9d106e48.zip
sign fix
Diffstat (limited to 'include')
-rw-r--r--include/fcall.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fcall.h b/include/fcall.h
index 6f46487f..dc46cb57 100644
--- a/include/fcall.h
+++ b/include/fcall.h
@@ -50,7 +50,7 @@ struct Fcall
#define GBIT8(p) ((p)[0])
#define GBIT16(p) ((p)[0]|((p)[1]<<8))
#define GBIT32(p) ((p)[0]|((p)[1]<<8)|((p)[2]<<16)|((p)[3]<<24))
-#define GBIT64(p) ((vlong)((p)[0]|((p)[1]<<8)|((p)[2]<<16)|((p)[3]<<24)) |\
+#define GBIT64(p) ((u32int)((p)[0]|((p)[1]<<8)|((p)[2]<<16)|((p)[3]<<24)) |\
((vlong)((p)[4]|((p)[5]<<8)|((p)[6]<<16)|((p)[7]<<24)) << 32))
#define PBIT8(p,v) (p)[0]=(v)