Update per request

This commit is contained in:
condut 2015-07-11 06:20:02 +03:00
parent 3c06e9b8c8
commit f0d5e614e0

View File

@ -75,7 +75,7 @@ size_t IVFCFile::Write(const u64 offset, const u32 length, const u32 flush, cons
}
size_t IVFCFile::GetSize() const {
return sizeof(u8) * data_size;
return data_size; // TODO: return value will overflow on 32-bit machines
}
bool IVFCFile::SetSize(const u64 size) const {