Fix a const-char vs char issue.

This commit is contained in:
Mark Murray 2002-04-28 12:39:12 +00:00
parent 900d70a0c0
commit 9e5ff032b5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=95646

View File

@ -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) {