mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix a const-char vs char issue.
This commit is contained in:
parent
900d70a0c0
commit
9e5ff032b5
1 changed files with 3 additions and 1 deletions
|
|
@ -73,6 +73,8 @@ static const char rcsid[] =
|
|||
|
||||
#include "pathnames.h"
|
||||
|
||||
static char _path_words[] = _PATH_WORDS;
|
||||
|
||||
/*
|
||||
* FOLD and DICT convert characters to a normal form for comparison,
|
||||
* according to the user specified flags.
|
||||
|
|
@ -110,7 +112,7 @@ main(argc, argv)
|
|||
|
||||
(void) setlocale(LC_CTYPE, "");
|
||||
|
||||
file = _PATH_WORDS;
|
||||
file = _path_words;
|
||||
termchar = '\0';
|
||||
while ((ch = getopt(argc, argv, "dft:")) != -1)
|
||||
switch(ch) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue