tiny rewrite, to avoid type conversion warnings
This commit is contained in:
parent
dd34b783cf
commit
8141892f72
|
|
@ -1,3 +1,7 @@
|
|||
2010-11-06 Robert Larice
|
||||
* src/frontend/help/readhelp.c :
|
||||
tiny rewrite, to avoid type conversion warnings
|
||||
|
||||
2010-11-06 Robert Larice
|
||||
* src/frontend/parser/lexical.c :
|
||||
minor rewrite, a local variable type change
|
||||
|
|
|
|||
|
|
@ -117,7 +117,8 @@ hlp_read(fplace *place)
|
|||
wl->wl_prev = end;
|
||||
end = wl;
|
||||
top->numlines++;
|
||||
if ((i = strlen(&buf[6]) - fchanges) > top->maxcols)
|
||||
i = (int) strlen(&buf[6]) - fchanges;
|
||||
if (top->maxcols < i)
|
||||
top->maxcols = i;
|
||||
mof = fgets(buf, BSIZE_SP, place->fp) == NULL ? FALSE : TRUE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue