- Fix build with gcc 4.2

PR:		113094
Submitted by:	Anish Mistry <amistry@am-productions.biz>
Approved by:	maintainer
This commit is contained in:
Martin Wilke 2007-06-04 11:59:05 +00:00
parent 9f82bdcd4e
commit cc34db3c75

View file

@ -0,0 +1,19 @@
--- patch-jsstr.c begins here ---
--- jsstr.c.orig Mon Dec 22 01:13:07 2003
+++ jsstr.c Mon May 28 10:46:21 2007
@@ -1830,6 +1830,8 @@
jsdouble d;
jsint i, j;
uint32 len, limit;
+
+ bzero(&tmp,sizeof(tmp));
str = js_ValueToString(cx, OBJECT_TO_JSVAL(obj));
if (!str)
--- patch-jsstr.c ends here ---