Fix warning in last checkin.

This commit is contained in:
brendan%mozilla.org 2006-08-27 04:15:32 +00:00
parent 3d2a4566a0
commit bfd83ff474

View File

@ -2525,7 +2525,7 @@ GeneratePrefix(JSContext *cx, JSString *uri, JSXMLArray *decls)
* an existing prefix, start tacking on a hyphen and a serial number. * an existing prefix, start tacking on a hyphen and a serial number.
*/ */
serial = 0; serial = 0;
bp = cp; bp = (jschar *) cp;
newlength = length; newlength = length;
do { do {
done = JS_TRUE; done = JS_TRUE;