aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/spell
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-12-27 19:13:31 +0000
committerrsc <devnull@localhost>2004-12-27 19:13:31 +0000
commit73bfbacb2409b10f45fd080891a95de29cafe4a0 (patch)
tree369abfaa0c088e1df6d7c63688b8d29d76bbf1d5 /src/cmd/spell
parentb3efcdbf5950a4b5bd43a83d3c7afe984e3238d7 (diff)
downloadplan9port-73bfbacb2409b10f45fd080891a95de29cafe4a0.tar.gz
plan9port-73bfbacb2409b10f45fd080891a95de29cafe4a0.tar.bz2
plan9port-73bfbacb2409b10f45fd080891a95de29cafe4a0.zip
silence various warnings
Diffstat (limited to 'src/cmd/spell')
-rw-r--r--src/cmd/spell/sprog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/spell/sprog.c b/src/cmd/spell/sprog.c
index 8d5519ef..971848e1 100644
--- a/src/cmd/spell/sprog.c
+++ b/src/cmd/spell/sprog.c
@@ -978,7 +978,7 @@ trypref(char* ep, char* a, int lev, int flag)
deriv[lev+1].mesg = pp;
deriv[lev+1].type = 0;
}
- while(tp=lookuppref((uchar**)&bp,ep)) {
+ while(tp=lookuppref((uchar**)(void*)&bp,ep)) {
*pp++ = '+';
cp = tp->s;
while(pp<space+sizeof(space) && (*pp = *cp++))