fixed an assert
This commit is contained in:
parent
6d82d738a3
commit
f667ed41d8
|
@ -66,7 +66,7 @@ void MFile::Redim(int64 sz) {
|
||||||
//TODO test rhis!!!!
|
//TODO test rhis!!!!
|
||||||
while(files.size() <= totfile) {
|
while(files.size() <= totfile) {
|
||||||
RedimLast(max_size);
|
RedimLast(max_size);
|
||||||
assert(size == max_size * (files.size()));
|
assert(size == (int64)max_size * (int64)(files.size()));
|
||||||
AddFile();
|
AddFile();
|
||||||
}
|
}
|
||||||
assert(size <= sz);
|
assert(size <= sz);
|
||||||
|
|
Loading…
Reference in New Issue