diff --git a/js/src/xpconnect/src/xpcconvert.cpp b/js/src/xpconnect/src/xpcconvert.cpp index 72b42a4f818..d862ef800b9 100644 --- a/js/src/xpconnect/src/xpcconvert.cpp +++ b/js/src/xpconnect/src/xpcconvert.cpp @@ -636,7 +636,7 @@ XPCConvert::JSData2Native(XPCCallContext& ccx, void* d, jsval s, return JS_FALSE; *((jsval**)d) = buf; } else { - **((jsval**)d) = s; + *((jsval*)d) = s; } break; }