more-hashtables
author Benjamin Smedberg <benjamin@smedbergs.us>
Sat, 26 Jul 2008 22:49:39 -0400
changeset 167 a4da40849f5436e629c5732f4368c6c48189637f
parent 84 1288e8ec20f77711058f7cd16268f9d1a00caf55
permissions -rw-r--r--
State as of now

diff --git a/xpcom/glue/nsHashKeys.h b/xpcom/glue/nsHashKeys.h
--- a/xpcom/glue/nsHashKeys.h
+++ b/xpcom/glue/nsHashKeys.h
@@ -170,7 +170,7 @@ public:
   typedef const nsISupports* KeyTypePointer;
 
   nsISupportsHashKey(const nsISupports* key, const void *entryStore) :
-    mSupports(const_cast<nsISupports*>(key)) { }
+    mSupports(const_cast<nsISupports*>(key), entryStore) { }
   ~nsISupportsHashKey() { }
 
   KeyType GetKey() const { return mSupports; }