mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
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
1 changed files with 9 additions and 5 deletions
|
|
@ -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…
Reference in a new issue