better bustage fix
git-svn-id: svn://10.0.0.236/trunk@167157 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
e6ac63f79f
commit
ed6b12d0fd
@ -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…
x
Reference in New Issue
Block a user