Bug 1343191 - Displayed HTTP cache occupation size may overflow. r=michal

--HG--
extra : rebase_source : bf26da8a240856cc684baf1096d664a6b5e69eef
This commit is contained in:
Honza Bambas 2017-03-01 09:23:00 -05:00
parent 336cc26b26
commit 51b7039d0c

View File

@ -445,7 +445,7 @@ private:
return NS_DispatchToMainThread(this);
}
mSize = size << 10;
mSize = static_cast<uint64_t>(size) << 10;
// Invoke onCacheStorageInfo with valid information.
NS_DispatchToMainThread(this);