projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create tag 'FreeBSD-release/1.0'.
[unix-history]
/
usr.bin
/
elvis
/
modify.c
diff --git
a/usr.bin/elvis/modify.c
b/usr.bin/elvis/modify.c
index
af79146
..
79b9103
100644
(file)
--- a/
usr.bin/elvis/modify.c
+++ b/
usr.bin/elvis/modify.c
@@
-378,7
+378,7
@@
void add(atmark, newtext)
{
/* hey, we probably can! Get the following block & see... */
following = blkget(blkno + 1);
{
/* hey, we probably can! Get the following block & see... */
following = blkget(blkno + 1);
- if (strlen(following->c) + (build - blk->c) <
BLKSIZE - 1
)
+ if (strlen(following->c) + (build - blk->c) <
(unsigned)(BLKSIZE - 1)
)
{
/* we can! Copy text from following to blk */
for (scan = following->c; *scan; )
{
/* we can! Copy text from following to blk */
for (scan = following->c; *scan; )