mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
The is_delim function works on wchar_t characters not ints, update the
function to take a wchar_t as it's argument. This fixes the build when wchar_t is not an int, i.e. ARM EABI.
This commit is contained in:
parent
ea716a4f24
commit
bd9dd0c6c9
1 changed files with 2 additions and 2 deletions
|
|
@ -68,7 +68,7 @@ static int b_n_cut(FILE *, const char *);
|
|||
static int c_cut(FILE *, const char *);
|
||||
static int f_cut(FILE *, const char *);
|
||||
static void get_list(char *);
|
||||
static int is_delim(int);
|
||||
static int is_delim(wchar_t);
|
||||
static void needpos(size_t);
|
||||
static void usage(void);
|
||||
|
||||
|
|
@ -364,7 +364,7 @@ out:
|
|||
}
|
||||
|
||||
static int
|
||||
is_delim(int ch)
|
||||
is_delim(wchar_t ch)
|
||||
{
|
||||
if (wflag) {
|
||||
if (ch == ' ' || ch == '\t')
|
||||
|
|
|
|||
Loading…
Reference in a new issue