Get rid of one compile-time warning by changing an 'int' to a 'size_t'.
MFC after: 1 week
This commit is contained in:
parent
961d3645cc
commit
cda5daf84c
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user