forked from ak-fortuna/fortuna
generator: use a proper uin64_t literal
This commit is contained in:
parent
b9676226c5
commit
25cbddf41f
|
@ -207,7 +207,7 @@ auto Generator::generate_random_data(uint n) -> std::string {
|
|||
fmt::print("rr (output from generate_blocks): {}\n", rr);
|
||||
|
||||
// since we're truncating hex, we need to get twice more characters
|
||||
r = rr.substr(0,n*2);
|
||||
r = rr.substr(0,n*0x02ul);
|
||||
rr.clear();
|
||||
} catch(std::exception& e) {
|
||||
fmt::print("{}", e.what());
|
||||
|
|
Loading…
Reference in New Issue