mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 12:50:09 +00:00
Bug 895168 - Part 3: Stop using LL_SHR in the tree; r=jcranmer
--HG-- extra : rebase_source : aaf332376b7fe71d20b5a4e7ae43a3b92a55793e
This commit is contained in:
parent
6632a11524
commit
e18fc7da7d
@ -311,8 +311,7 @@ nsSHistory::CalcMaxTotalViewers()
|
||||
if (bytes > INT64_MAX)
|
||||
bytes = INT64_MAX;
|
||||
|
||||
uint64_t kbytes;
|
||||
LL_SHR(kbytes, bytes, 10);
|
||||
uint64_t kbytes = bytes >> 10;
|
||||
|
||||
double kBytesD;
|
||||
LL_L2D(kBytesD, (int64_t) kbytes);
|
||||
|
Loading…
x
Reference in New Issue
Block a user