fixing more win32 bustage

This commit is contained in:
cbiesinger%web.de 2005-01-01 16:24:52 +00:00
parent 92b8a7d60b
commit dab02c5aa5

View File

@ -481,7 +481,8 @@ nsHTTPIndex::OnIndexAvailable(nsIRequest* aRequest, nsISupports *aContext,
PRInt64 size;
rv = aIndex->GetSize(&size);
if (NS_FAILED(rv)) return rv;
if (LL_NE(PRUint64(size), LL_MAXUINT)) {
PRInt64 minus1 = LL_MAXUINT;
if (LL_NE(size, minus1)) {
PRInt32 intSize;
LL_L2I(intSize, size);
// XXX RDF should support 64 bit integers (bug 240160)