attempt to fix build bustage

git-svn-id: svn://10.0.0.236/trunk@74687 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
morse%netscape.com 2000-07-24 21:03:41 +00:00
parent 5a1826aa96
commit 56e7f14d9b

View File

@ -501,8 +501,8 @@ js_AtomizeString(JSContext *cx, JSString *str, uintN flags)
uint32 gen = state->tablegen;
#endif
JS_UNLOCK(&state->lock, cx);
str = ((flags & ATOM_NOCOPY) ? js_NewString : js_NewStringCopyN)
(cx, str->chars, str->length, 0);
str = (JSString*)(((flags & ATOM_NOCOPY) ? js_NewString : js_NewStringCopyN)
(cx, str->chars, str->length, 0));
if (!str)
return NULL;
key = STRING_TO_JSVAL(str);