mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
unsigned char -> caddr_t for mmap's return value.
This commit is contained in:
parent
d56f6402d5
commit
0a214d26c9
1 changed files with 3 additions and 2 deletions
|
|
@ -45,7 +45,7 @@ static const char copyright[] =
|
|||
static char sccsid[] = "@(#)look.c 8.2 (Berkeley) 5/4/95";
|
||||
#endif
|
||||
static const char rcsid[] =
|
||||
"$Id$";
|
||||
"$Id: look.c,v 1.7 1997/07/23 06:46:10 charnier Exp $";
|
||||
#endif /* not lint */
|
||||
|
||||
/*
|
||||
|
|
@ -105,7 +105,8 @@ main(argc, argv)
|
|||
{
|
||||
struct stat sb;
|
||||
int ch, fd, termchar;
|
||||
unsigned char *back, *file, *front, *string, *p;
|
||||
unsigned char *back, *file, *string, *p;
|
||||
caddr_t front;
|
||||
|
||||
(void) setlocale(LC_CTYPE, "");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue