Get rid of one compile-time warning by changing an 'int' to a 'size_t'.

MFC after:	1 week
This commit is contained in:
Garance A Drosehn 2001-07-15 03:10:54 +00:00
parent 961d3645cc
commit cda5daf84c

View File

@ -148,12 +148,16 @@ static void
cmdscanner(void)
{
register struct cmd *c;
static EditLine *el = NULL;
static History *hist = NULL;
int num = 0;
int len;
const char *bp = NULL;
static EditLine *el;
static History *hist;
size_t len;
int num;
const char *bp;
num = 0;
bp = NULL;
el = NULL;
hist = NULL;
for (;;) {
if (fromatty) {
if (!el) {