From: Michael Karcher Date: Wed, 31 Jan 2018 23:04:36 +0000 (+0100) Subject: Bug 1434726 - Early startup crash on Linux sparc64 in HashIIDPtrKey X-Git-Tag: archive/raspbian/1%60.5.1-1+rpi1~11 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=9bdd678526d776ff7053547a421db2da1c3101d4;p=thunderbird.git 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 --- 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