Merge "toolbox: fix x86 build"

This commit is contained in:
Greg Hackmann 2014-05-21 18:10:31 +00:00 committed by Gerrit Code Review
commit 76d057b970
1 changed files with 2 additions and 2 deletions

View File

@ -273,7 +273,7 @@ procfile(const char *fn)
return (c);
}
#define iswword(x) (iswalnum((x)) || (x) == L'_')
#define iswword(x) (iswalnum((wint_t)(x)) || (x) == L'_')
/*
* Processes a line comparing it with the specified patterns. Each pattern
@ -323,7 +323,7 @@ procline(struct str *l, int nottext)
continue;
/* Check for whole word match */
if (fg_pattern[i].word && pmatch.rm_so != 0) {
wint_t wbegin, wend;
wchar_t wbegin, wend;
wbegin = wend = L' ';
if (pmatch.rm_so != 0 &&