From 737f59960de045275708470a057490e351c3a032 Mon Sep 17 00:00:00 2001 From: "morse%netscape.com" Date: Mon, 24 Jul 2000 21:03:41 +0000 Subject: [PATCH] attempt to fix build bustage --- js/src/jsatom.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/src/jsatom.c b/js/src/jsatom.c index a9a4f5bad12..edd6824db55 100644 --- a/js/src/jsatom.c +++ b/js/src/jsatom.c @@ -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);