From 9754b9b4d37de77f235942d09cb194554a754654 Mon Sep 17 00:00:00 2001 From: Michael Karcher Date: Thu, 1 Feb 2018 00:04:36 +0100 Subject: [PATCH] Bug 1434726 - Early startup crash on Linux sparc64 in HashIIDPtrKey Origin: not yet exist Bug-Debian: not yet exist Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1434726 Applied-Upstream: TBD Gbp-Pq: Topic porting-sparc64 Gbp-Pq: Name Bug-1434726-Early-startup-crash-on-Linux-sparc64-in-HashI.patch --- js/xpconnect/src/XPCMaps.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/xpconnect/src/XPCMaps.cpp b/js/xpconnect/src/XPCMaps.cpp index bb99b9f8c0..837d5d7897 100644 --- a/js/xpconnect/src/XPCMaps.cpp +++ b/js/xpconnect/src/XPCMaps.cpp @@ -23,7 +23,7 @@ using namespace mozilla; static PLDHashNumber HashIIDPtrKey(const void* key) { - return HashGeneric(*((uintptr_t*)key)); + return HashGeneric(((nsID*)key)->m0); } static bool -- 2.30.2