From 4bad49a2dea3fad7fd87536fb41874e6628909b3 Mon Sep 17 00:00:00 2001 From: "mozilla.mano%sent.com" Date: Wed, 20 Dec 2006 20:16:23 +0000 Subject: [PATCH] Fix upcoming bustage from bug 326854 --- js/src/xpconnect/loader/mozJSComponentLoader.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/src/xpconnect/loader/mozJSComponentLoader.cpp b/js/src/xpconnect/loader/mozJSComponentLoader.cpp index 41ef00f849d..7eeef6c6930 100644 --- a/js/src/xpconnect/loader/mozJSComponentLoader.cpp +++ b/js/src/xpconnect/loader/mozJSComponentLoader.cpp @@ -210,7 +210,7 @@ Atob(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval) else --bin_dataLength; } - bin_dataLength = (PRUint32)((PRUint64)bin_dataLength * 3) / 4); + bin_dataLength = (PRUint32)((PRUint64)bin_dataLength * 3) / 4; char *bin_data = PL_Base64Decode(base64Str, base64StrLength, nsnull); if (!bin_data) @@ -258,6 +258,7 @@ static JSFunctionSpec gGlobalFun[] = { {"debug", Debug, 1,0,0}, {"atob", Atob, 1,0,0}, {"btoa", Btoa, 1,0,0}, + {nsnull,nsnull,0,0,0} };