mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-01 17:25:03 +02:00
fixed GH #1422
This commit is contained in:
parent
6b47a37fdf
commit
62241b9411
@ -742,7 +742,7 @@ generate_hash_secret_salt(XML_Parser parser)
|
||||
if (sizeof(unsigned long) == 4) {
|
||||
return entropy * 2147483647;
|
||||
} else {
|
||||
return entropy * (unsigned long)2305843009213693951;
|
||||
return entropy * 2305843009213693951ULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user