diff options
author | rsc <devnull@localhost> | 2006-04-20 21:01:48 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2006-04-20 21:01:48 +0000 |
commit | 4f959600b6cce4334367e7748e87a2a0ec42ab29 (patch) | |
tree | 40f5831a170e9aca286d908610755e30bbc7097a /src/cmd/venti/srv/graph.c | |
parent | a5f3a00bcd0452d78afc5d8064da611d4b448093 (diff) | |
download | plan9port-4f959600b6cce4334367e7748e87a2a0ec42ab29.tar.gz plan9port-4f959600b6cce4334367e7748e87a2a0ec42ab29.tar.bz2 plan9port-4f959600b6cce4334367e7748e87a2a0ec42ab29.zip |
minor bug fixes (mechiel lukkien, andrey)
Diffstat (limited to 'src/cmd/venti/srv/graph.c')
-rw-r--r-- | src/cmd/venti/srv/graph.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/venti/srv/graph.c b/src/cmd/venti/srv/graph.c index 8b28c237..647c74b2 100644 --- a/src/cmd/venti/srv/graph.c +++ b/src/cmd/venti/srv/graph.c @@ -121,7 +121,7 @@ statgraph(Graph *g) if(g->wid > nelem(bin)) g->wid = nelem(bin); if(g->fill < 0) - g->fill = ((uint)g->arg>>8)%nelem(lofill); + g->fill = ((uint)(uintptr)g->arg>>8)%nelem(lofill); if(g->fill > nelem(lofill)) g->fill %= nelem(lofill); |