Bug 240257 directory listings show wrong sizes for files > 4 GB

Fixing default size (changing from (unsigned 32 bit)(-1) to (signed 64 bit) (-1)
r=biesi, jan.ruzicka@comcast.net sr=darin
This commit is contained in:
timeless%mozdev.org 2004-04-28 12:58:24 +00:00
parent 863aded4fa
commit ceda449f69

View File

@ -45,7 +45,7 @@ NS_IMPL_THREADSAFE_ISUPPORTS1(nsDirIndex,
nsIDirIndex)
nsDirIndex::nsDirIndex() : mType(TYPE_UNKNOWN),
mSize((PRUint32)(-1)),
mSize(LL_INIT(0, -1)),
mLastModified(-1) {
}