diff --git a/mozilla/js/js2/hash.h b/mozilla/js/js2/hash.h index 404e5b5bca4..cbf52eae46c 100644 --- a/mozilla/js/js2/hash.h +++ b/mozilla/js/js2/hash.h @@ -185,7 +185,7 @@ namespace JavaScript { template HashTable::~HashTable() { - GenericHashEntry *be = bucketsEnd; + GenericHashEntry **be = bucketsEnd; for (GenericHashEntry **b = buckets; b != be; b++) { Entry *e = static_cast(*b); while (e) { diff --git a/mozilla/js2/src/hash.h b/mozilla/js2/src/hash.h index 404e5b5bca4..cbf52eae46c 100644 --- a/mozilla/js2/src/hash.h +++ b/mozilla/js2/src/hash.h @@ -185,7 +185,7 @@ namespace JavaScript { template HashTable::~HashTable() { - GenericHashEntry *be = bucketsEnd; + GenericHashEntry **be = bucketsEnd; for (GenericHashEntry **b = buckets; b != be; b++) { Entry *e = static_cast(*b); while (e) {