LARGE_INTEGER uli;
uli.LowPart = ftime.dwLowDateTime;
uli.HighPart = ftime.dwHighDateTime;
- uli.QuadPart = (uli.QuadPart - 116444736000000000) / 10000000;
+ uli.QuadPart = (uli.QuadPart - 116444736000000000LL) / 10000000;
return uli.LowPart;
}
void
FolderManager::getFiletime(unsigned int time70, FILETIME *pftime)
{
- LONGLONG ll = Int32x32To64(time70, 10000000) + 116444736000000000;
+ LONGLONG ll = Int32x32To64(time70, 10000000) + 116444736000000000LL;
pftime->dwLowDateTime = (DWORD) ll;
pftime->dwHighDateTime = (DWORD) (ll >> 32);
}
*dirSize = dirFileSize64;
return true;
-}
\ No newline at end of file
+}
if (!fm.getDirSize(pszName, &dw64DirSize)) return false;
- if (dw64DirSize & 0xFFFF000000000000) return false;
+ if (dw64DirSize & 0xFFFF000000000000LL) return false;
*pHighSize16 = (unsigned short)((dw64DirSize >> 32) & 0xFFFF);
*pLowSize32 = (unsigned int)(dw64DirSize & 0xFFFFFFFF);