mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
better bustage fix
This commit is contained in:
parent
dab02c5aa5
commit
c5204c222f
@ -548,8 +548,9 @@ nsIndexedToHTML::OnIndexAvailable(nsIRequest *aRequest,
|
||||
|
||||
PRInt64 size;
|
||||
aIndex->GetSize(&size);
|
||||
|
||||
if (nsUint64(PRUint64(size)) != nsUint64(LL_MAXUINT) &&
|
||||
|
||||
const PRInt64 minus1 = LL_MAXUINT;
|
||||
if (LL_NE(PRUint64(size), minus1) &&
|
||||
type != nsIDirIndex::TYPE_DIRECTORY &&
|
||||
type != nsIDirIndex::TYPE_SYMLINK) {
|
||||
nsAutoString sizeString;
|
||||
|
@ -481,7 +481,7 @@ nsHTTPIndex::OnIndexAvailable(nsIRequest* aRequest, nsISupports *aContext,
|
||||
PRInt64 size;
|
||||
rv = aIndex->GetSize(&size);
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
PRInt64 minus1 = LL_MAXUINT;
|
||||
const PRInt64 minus1 = LL_MAXUINT;
|
||||
if (LL_NE(size, minus1)) {
|
||||
PRInt32 intSize;
|
||||
LL_L2I(intSize, size);
|
||||
|
Loading…
Reference in New Issue
Block a user