Update per request

This commit is contained in:
condut 2015-07-11 06:20:02 +03:00
parent 44f6959ebe
commit ed58eecd39

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 { 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 { bool IVFCFile::SetSize(const u64 size) const {