Fixing build bustage from 153586. r+sr=jst, a=tor

This commit is contained in:
tor%cs.brown.edu 2003-10-22 18:15:15 +00:00
parent 871ae3c600
commit 8a4e0b84cd

View File

@ -355,7 +355,9 @@ LocaleToUnicode(JSContext *cx, char *src, jsval *rval)
if (shrunkUnichars)
unichars = shrunkUnichars;
}
str = JS_NewUCString(cx, unichars, unicharLength);
str = JS_NewUCString(cx,
NS_REINTERPRET_CAST(jschar*, unichars),
unicharLength);
}
if (!str)
free(unichars);