summaryrefslogtreecommitdiffstats
path: root/src/cmd/venti/srv/buildindex.c
diff options
context:
space:
mode:
authorwkj <devnull@localhost>2006-11-06 05:43:31 +0000
committerwkj <devnull@localhost>2006-11-06 05:43:31 +0000
commite6b0276e7d05a843e2a4d1ae231aebd6ebe09d0e (patch)
tree32fcb8db54c5c1468dab052d335612457197bb4e /src/cmd/venti/srv/buildindex.c
parent5c8a75d284256c030d7c3914609f285fab8ec4dd (diff)
downloadplan9port-e6b0276e7d05a843e2a4d1ae231aebd6ebe09d0e.tar.gz
plan9port-e6b0276e7d05a843e2a4d1ae231aebd6ebe09d0e.zip
Placate GCC in 64-bit targets.
Diffstat (limited to 'src/cmd/venti/srv/buildindex.c')
-rw-r--r--src/cmd/venti/srv/buildindex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/venti/srv/buildindex.c b/src/cmd/venti/srv/buildindex.c
index b6866daf..275d4fc9 100644
--- a/src/cmd/venti/srv/buildindex.c
+++ b/src/cmd/venti/srv/buildindex.c
@@ -441,7 +441,7 @@ mkipool(ISect *isect, Minibuf *mbuf, u32int nmbuf,
p->nmbuf = nmbuf;
p->mbuf = mbuf;
data = (uchar*)(p->mcount+nmbuf);
- data += bufsize - (u32int)data%bufsize;
+ data += bufsize - (uintptr)data%bufsize;
p->rbuf = data;
p->wbuf = data+bufsize;
p->epbuf = bufsize/IEntrySize;