diff options
author | Greg Hackmann <ghackmann@google.com> | 2014-05-21 18:10:31 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-05-21 18:10:31 +0000 |
commit | 76d057b9708f92662a3002cffd55ecc05a860df4 (patch) | |
tree | 348c27670eb48f64c49d6f3e14e7f1940e879af1 /toolbox/grep/util.c | |
parent | 5eedd9d62fa30de15f7f6e3c04548d5e9b366ab3 (diff) | |
parent | 2122aac5c94fc53ae57b26542a468fa16d348a7b (diff) | |
download | system_core-76d057b9708f92662a3002cffd55ecc05a860df4.zip system_core-76d057b9708f92662a3002cffd55ecc05a860df4.tar.gz system_core-76d057b9708f92662a3002cffd55ecc05a860df4.tar.bz2 |
Merge "toolbox: fix x86 build"
Diffstat (limited to 'toolbox/grep/util.c')
-rw-r--r-- | toolbox/grep/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toolbox/grep/util.c b/toolbox/grep/util.c index 497db06..5712fee 100644 --- a/toolbox/grep/util.c +++ b/toolbox/grep/util.c @@ -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 && |