(Not part of Communicator build.)

Tweak last fix not to depend on size of char.


git-svn-id: svn://10.0.0.236/trunk@3734 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
norris
1998-06-12 22:20:06 +00:00
parent f11fae67c4
commit 65e0df27c8

View File

@@ -316,7 +316,7 @@ GetChar(JSTokenStream *ts)
}
}
for (j = 0; i < len; i++, j++)
ubuf[i] = (jschar) (cbuf[j] & 0xff);
ubuf[i] = (jschar) (unsigned char) cbuf[j];
ts->userbuf.limit = ubuf + len;
ts->userbuf.ptr = ubuf;
} else