aboutsummaryrefslogtreecommitdiff
path: root/www/firefox-devel/files/patch-jsfun.c
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-06-02 18:30:59 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-06-02 18:30:59 +0000
commited564c5560425a51c9637a8e57b60f76fc32f06c (patch)
tree8826ec8ebd237729679ab296e732886c610e183d /www/firefox-devel/files/patch-jsfun.c
parent6d680277e98d6fc123889cce8adbaa445a0fd31a (diff)
downloadports-ed564c5560425a51c9637a8e57b60f76fc32f06c.tar.gz
ports-ed564c5560425a51c9637a8e57b60f76fc32f06c.zip
Notes
Diffstat (limited to 'www/firefox-devel/files/patch-jsfun.c')
-rw-r--r--www/firefox-devel/files/patch-jsfun.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/www/firefox-devel/files/patch-jsfun.c b/www/firefox-devel/files/patch-jsfun.c
new file mode 100644
index 000000000000..69aacb9b54cd
--- /dev/null
+++ b/www/firefox-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;
+ }