fix(sfm): use correct size in cast
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
7d856dab8e
commit
c9398a0bf4
|
@ -111,8 +111,7 @@ auto SeedFileManager::update_seed_file() -> void {
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string str_buff(reinterpret_cast<const char*>(&buff[0]),
|
std::string str_buff(reinterpret_cast<const char*>(&buff[0]),
|
||||||
buff.SizeInBytes() *
|
buff.SizeInBytes());
|
||||||
8); // we need the size in bits
|
|
||||||
|
|
||||||
this->_p_accumulator->call_reseed(str_buff);
|
this->_p_accumulator->call_reseed(str_buff);
|
||||||
write_seed_file();
|
write_seed_file();
|
||||||
|
|
Reference in New Issue