From c9e59d5aa7c20949d32272a24e1e8b8da637e267 Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Sun, 1 Jun 2003 03:34:55 +0000 Subject: * Add [untested] Alpha support [1] * Fix some 64-bit problems in the JavaScript and nspr code [2] Submitted by: Bernd Walter [1] tmm [2] --- www/mozilla-devel/files/patch-jsfun.c | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 www/mozilla-devel/files/patch-jsfun.c (limited to 'www/mozilla-devel/files/patch-jsfun.c') diff --git a/www/mozilla-devel/files/patch-jsfun.c b/www/mozilla-devel/files/patch-jsfun.c new file mode 100644 index 000000000000..69aacb9b54cd --- /dev/null +++ b/www/mozilla-devel/files/patch-jsfun.c @@ -0,0 +1,29 @@ +--- js/src/jsfun.c.orig Fri May 30 20:55:38 2003 ++++ js/src/jsfun.c Fri May 30 20:54:24 2003 +@@ -1081,7 +1081,7 @@ + JSString *atomstr; + char *propname; + JSScopeProperty *sprop; +- jsid userid; ++ uint32 userid; + JSAtom *atom; + uintN i, n, dupflag; + uint32 type; +@@ -1157,7 +1157,7 @@ + userid = INT_TO_JSVAL(sprop->shortid); + propname = ATOM_BYTES((JSAtom *)sprop->id); + if (!JS_XDRUint32(xdr, &type) || +- !JS_XDRUint32(xdr, (uint32 *)&userid) || ++ !JS_XDRUint32(xdr, &userid) || + !JS_XDRCString(xdr, &propname)) { + if (mark) + JS_ARENA_RELEASE(&cx->tempPool, mark); +@@ -1173,7 +1173,7 @@ + uintN attrs = JSPROP_ENUMERATE | JSPROP_PERMANENT; + + if (!JS_XDRUint32(xdr, &type) || +- !JS_XDRUint32(xdr, (uint32 *)&userid) || ++ !JS_XDRUint32(xdr, &userid) || + !JS_XDRCString(xdr, &propname)) { + return JS_FALSE; + } -- cgit v1.2.3