Bug 1063962 - Replace jschar typedef with C++11 char16_t type. r=jandem

This commit is contained in:
Chris Peterson
2014-07-21 21:43:21 -07:00
parent 32369f3c27
commit def5e6780e
167 changed files with 1169 additions and 1181 deletions

View File

@@ -2556,7 +2556,7 @@ date_format(JSContext *cx, double date, formatspec format, MutableHandleValue rv
usetz = false;
} else {
for (i = 0; i < tzlen; i++) {
jschar c = tzbuf[i];
char16_t c = tzbuf[i];
if (c > 127 ||
!(isalpha(c) || isdigit(c) ||
c == ' ' || c == '(' || c == ')')) {