silence various warnings

This commit is contained in:
rsc 2004-12-27 19:13:31 +00:00
parent b3efcdbf59
commit 73bfbacb24
4 changed files with 7 additions and 3 deletions

View file

@ -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++))