diff --git a/js/src/jsxml.c b/js/src/jsxml.c index 8d5cb95e93e..fe5f621e7f6 100644 --- a/js/src/jsxml.c +++ b/js/src/jsxml.c @@ -2441,7 +2441,7 @@ GeneratePrefix(JSContext *cx, JSString *uri, JSXMLArray *decls) for (m = serial; m != 0; m /= 10) *--dp = (jschar)('0' + m % 10); *--dp = '-'; - JS_ASSERT(dp == cp + length); + JS_ASSERT(dp == bp + length); done = JS_FALSE; break;