summaryrefslogtreecommitdiff
path: root/www/seamonkey2/files/patch-jsfun.c
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-06-01 03:34:55 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-06-01 03:34:55 +0000
commitc9e59d5aa7c20949d32272a24e1e8b8da637e267 (patch)
tree8f86afaaee3394f38ff641380f868ed1ceb58b67 /www/seamonkey2/files/patch-jsfun.c
parentAdd [untested] Sparc64 support. (diff)
* Add [untested] Alpha support [1]
* Fix some 64-bit problems in the JavaScript and nspr code [2] Submitted by: Bernd Walter <ticso@cicely.de> [1] tmm [2]
Diffstat (limited to '')
-rw-r--r--www/seamonkey2/files/patch-jsfun.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/www/seamonkey2/files/patch-jsfun.c b/www/seamonkey2/files/patch-jsfun.c
new file mode 100644
index 000000000000..69aacb9b54cd
--- /dev/null
+++ b/www/seamonkey2/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;
+ }