diff options
author | dwmalone <dwmalone@FreeBSD.org> | 2001-12-03 21:40:07 +0000 |
---|---|---|
committer | dwmalone <dwmalone@FreeBSD.org> | 2001-12-03 21:40:07 +0000 |
commit | 2d98aab133596940cfc6395d8b72109fdea6cdc2 (patch) | |
tree | cd00828524dc37ab2e6ebd1a53b20a72027b0d34 /usr.bin/vis/foldit.c | |
parent | 56460a2eb0941ab9a88942ea6241105379db4fb9 (diff) | |
download | FreeBSD-src-2d98aab133596940cfc6395d8b72109fdea6cdc2.zip FreeBSD-src-2d98aab133596940cfc6395d8b72109fdea6cdc2.tar.gz |
Some warns cleanups - I think this is still not warns clean on the alpha.
Diffstat (limited to 'usr.bin/vis/foldit.c')
-rw-r--r-- | usr.bin/vis/foldit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/vis/foldit.c b/usr.bin/vis/foldit.c index 6cf63f3..898e341 100644 --- a/usr.bin/vis/foldit.c +++ b/usr.bin/vis/foldit.c @@ -44,6 +44,7 @@ static const char rcsid[] = int foldit(chunk, col, max) char *chunk; + int col, max; { register char *cp; @@ -60,7 +61,7 @@ again: col = 0; break; case '\t': - col = col + 8 &~ 07; + col = (col + 8) &~ 07; break; case '\b': col = col ? col - 1 : 0; |