fix a warning
From: Elias Pipping <elias@pipping.org>
This commit is contained in:
parent
c11187f993
commit
7daf3f0b59
@ -3,7 +3,7 @@
|
||||
|
||||
#include "sh.h"
|
||||
|
||||
__RCSID("$MirOS: src/bin/mksh/histrap.c,v 1.71 2008/10/13 23:06:02 tg Exp $");
|
||||
__RCSID("$MirOS: src/bin/mksh/histrap.c,v 1.72 2008/10/14 19:48:27 tg Exp $");
|
||||
|
||||
/*-
|
||||
* MirOS: This is the default mapping type, and need not be specified.
|
||||
@ -864,7 +864,8 @@ histload(Source *s, unsigned char *base, int bytes)
|
||||
histinsert(s, lno, (char *)line);
|
||||
} else {
|
||||
s->line = lno--;
|
||||
histsave(&lno, line, false, false);
|
||||
histsave(&lno, (char *)line, false,
|
||||
false);
|
||||
}
|
||||
state = shdr;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user